Open JPStrydom opened 2 years ago
Having the same issue. Is there a workaround?
@notscottthompson just switch to official solution https://tailwindcss.com/blog/automatic-class-sorting-with-prettier
@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.
@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.
@Idered thank you!
When running
eslint-plugin-tailwind@0.2.1
along witheslint@^8.0.0
we get the following error when runningnpm 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?