eslint-plugin-tailwind icon indicating copy to clipboard operation
eslint-plugin-tailwind copied to clipboard

Missing ESLint ^8.0.0 Peer Dependancy

Open JPStrydom opened this issue 4 years ago • 5 comments

When running [email protected] 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 [email protected]

Any chance that this can be patched?

JPStrydom avatar Dec 29 '21 12:12 JPStrydom

Having the same issue. Is there a workaround?

notdotscott avatar Jan 28 '22 11:01 notdotscott

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

Idered avatar Jan 28 '22 11:01 Idered

@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.

notdotscott avatar Jan 31 '22 14:01 notdotscott

@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 avatar Jan 31 '22 15:01 Idered

@Idered thank you!

notdotscott avatar Jan 31 '22 15:01 notdotscott