tailwindlabs / prettier-plugin-tailwindcss

A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order.
MIT License
5.15k stars 121 forks source link

Consider dropping testing with `prettier-plugin-import-sort`? #297

Open akx opened 2 weeks ago

akx commented 2 weeks ago

What version of prettier-plugin-tailwindcss are you using?

efea6f9

What version of Tailwind CSS are you using?

Irrelevant

What version of Node.js are you using?

Irrelevant (22.2.0)

What package manager are you using?

Irrelevant (Yarn)

What operating system are you using?

Irrelevant (macOS)

Describe your issue

I was wondering why setting up a dev environment for the plugin pulls in TypeScript 3.9, and it looks like it's a transitive dependency of prettier-plugin-import-sort.

prettier-plugin-import-sort 0.0.7
└─┬ import-sort-parser-typescript 6.0.0
  └── typescript 3.9.10

Given prettier-plugin-import-sort has had its last release 3 years ago, and import-sort-parser-typescript 5 years ago, maybe they could be dropped from the tests too.

thecrypticace commented 2 weeks ago

We had someone actually request this one but it was long enough ago that maybe we can drop support for it. It doesn't really cause problems keeping support for it around but at some point I'm it's gonna stop working with later versions of Prettier. Will think on this one some 👍