-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Support ESLint 8.x #3055
Comments
Support will wait until an actual release (betas don’t count). |
Actual release has happened. |
If someone having troubles installing this, having eslint 8>, (and similar libraries, like plugin:react-hooks), |
It is very much unsafe to use the force flag, or to ignore peer dep warnings. The only safe choice is to remain on eslint 7 until all the eslint things you use support it officially. |
eslint-plugin-react does not yet support eslint 8.x: jsx-eslint/eslint-plugin-react#3055
What's the reason this is being delayed? |
To be clear, an eslint major always, without exception, takes weeks to months before the rest of the eslint ecosystem is able to fully catch up. There's no way to accelerate or avoid this short of people pitching in their time to fix the issues, or, short of the eslint team deciding to avoid breaking changes. The cost of participating in the ecosystem - and benefiting from shared plugins and configs - is that you can't be on the bleeding edge of "core" anymore. This is just as true with webpack, babel, typescript, react, etc. |
Sorry – it was not clear from just looking at this PR that there are outstanding blockers. That's all I was asking. Thank you for the context. (Just realized that this isn't even a PR. Discovered this issue through another thread.) |
Until this is resolved, it would be helpful to update the installation instructions on https://www.npmjs.com/package/eslint-plugin-react. (Right now, they do not mention that eslint version 8 is not supported, so if you follow the installation instructions as given, you get an error.) |
@skedwards88 sure, done in bf08998, but it won't likely be published until we support eslint 8 anyways. |
@ljharb Will you push a release soon? |
on npm already released: https://www.npmjs.com/package/eslint-plugin-react/v/7.27.0 |
Thank you everyone 🤗 |
ESLint v8.0.0 is released 🎉
It would be awesome to have official ESLint 8 support. 👊
I'm happy to help where I can of course 🙂
The text was updated successfully, but these errors were encountered: