Idered / eslint-plugin-tailwind

ESLint rules for Tailwind CSS
MIT License
100 stars 7 forks source link

Missing ESLint ^8.0.0 Peer Dependancy #21

Open JPStrydom opened 2 years ago

JPStrydom commented 2 years ago

When running eslint-plugin-tailwind@0.2.1 along with eslint@^8.0.0 we get the following error when running npm i

npm ERR! peer eslint@"^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" from eslint-plugin-tailwind@0.2.1

Any chance that this can be patched?

notdotscott commented 2 years ago

Having the same issue. Is there a workaround?

Idered commented 2 years ago

@notscottthompson just switch to official solution https://tailwindcss.com/blog/automatic-class-sorting-with-prettier

notdotscott commented 2 years ago

@Idered Thanks for your reply. Does this mean that support is dropping for eslint-plugin-tailwind? We have recently dropped prettier from our projects and would rather not have to install it just for Tailwind linting.

Idered commented 2 years ago

@notscottthompson There's another, better eslint solution https://www.npmjs.com/package/eslint-plugin-tailwindcss which is maintained and have more features. I guess there's no need for this package.

notdotscott commented 2 years ago

@Idered thank you!