Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ESLint ^8.0.0 Peer Dependancy #21

Open
JPStrydom opened this issue Dec 29, 2021 · 5 comments
Open

Missing ESLint ^8.0.0 Peer Dependancy #21

JPStrydom opened this issue Dec 29, 2021 · 5 comments

Comments

@JPStrydom
Copy link

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
Copy link

Having the same issue. Is there a workaround?

@Idered
Copy link
Owner

Idered commented Jan 28, 2022

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

@notdotscott
Copy link

@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
Copy link
Owner

Idered commented Jan 31, 2022

@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
Copy link

@Idered thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants