-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ESLint v9 Support #8211
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
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
If you glance at the implementation you'll see that the helper is the identity function -- if you don't use the That means that writing We introduced this util because it provides a simple way for people to typecheck their configs. Otherwise people need to annotate the array with a jsdoc type which is very cumbersome and verbose: /** @type {import('@typescript-eslint/utils').TSESLint.FlatConfigArray} */
export default [...];
// vs
export default tseslint.config(...); We can definitely clarify this in the docs if it wasn't clear that the util isn't required. |
This comment was marked as resolved.
This comment was marked as resolved.
v9 has officially released Note that it contains breaking changes and as such we do not currently support it. It may work or it may not. This issue tracks our official support. Note that we are not accepting issues against v9 until we have official support - so please do not file issues with crashes or bugs for now and please do not comment on this issue telling us about crashes. If you'd like to help contribute towards support feel free to comment! |
Don't want to add to the noise, but did want to say thank you for being so clear and organized about what is supported and what the status is. Saved me a morning of wrestling with the immediate v9.0 fallout; I know to wait! 🙏 |
Now that #9002 is merged, the If you still have problems with typescript-eslint and ESLint v9:
Note that we do not plan on backporting ESLint v9 support to v7 versions of typescript-eslint. There are a lot of breaking changes inherent to our ESLint v9 support. If any enterprising individual wants to try onboarding us in typescript-eslint to ESLint v9, #9082 tracks that as a followup. |
Current stable version of Typescript-eslint doesn't support ESLint v9 yet, see typescript-eslint/typescript-eslint#8211
The
v8
versions of typescript-eslint starting with v8.0.0-alpha.10 now support ESLint v9. Hooray! 🙌If you still have problems with typescript-eslint and ESLint v9:
typescript-eslint@8.0.0-alpha.10
or newerNote that we do not plan on backporting ESLint v9 support to v7 versions of typescript-eslint. There are a lot of breaking changes inherent to our ESLint v9 support.
Previous issue body summarising work
ESLint has released v9.
Note that it contains breaking changes and as such we do not currently support it. It may work or it may not.
We are not accepting issues against v9 until we have official support - so please do not file issues with crashes or bugs for now and please do not comment on this issue telling us about crashes.
If you believe you have a bug when using ESLint v8 - please file a new issue.
If you need some help setting up / configuring your project - please visit our discord.
If you'd like to help contribute towards support feel free to comment!
Ongoing Work
no-new-symbol
withno-new-native-nonconstructor
#8895Breaking Changes
Changes we're treating as non-breaking
Per discussion in #8211, these augmentations fix previous gaps in the RuleTester. We'll treat them as non-breaking bug fixes so they can land in the v7 major version ahead of v8.
The text was updated successfully, but these errors were encountered: