-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: update to utilise the new ESLint flat file config. #1955
Comments
This is a bit of a stretch given a lot (probably a large majority actually) still doesn't support FlatConfig natively |
Reviving this now that v8 has reached EOL. Next 15 has official support for v9 (https://nextjs.org/blog/next-15-rc2#eslint-9-support) and also flat config (https://x.com/feedthejim/status/1846502242590802180) If we assume Next 15 will be marked stable next week at NextConf we could start preparing a PR with the necessary bumps |
Now Next.js 15 is stable... |
Getting deprecation warnings from eslint 8 now.
|
Any news on this? Doing manual migrations to eslint.config.mjs is getting bothersome |
Feel free to submit a PR ! |
Spent a couple hours catching up on all this stuff today, first time looking at monorepos. On CLI build I'm running into "tty" dynamic requires errors when adding imports to extras/config/_eslint.js necessary for the flat config (such as FlatCompat and plugin imports), so it's a bit annoying. Also is it me or the upgrade workspace is behind base/latest? Maybe it's just that I'm not familiar with monorepos/turborepos. Anyways, for the time being if anyone is looking for a resource to convert manually, this is more or less the output from this codemod: https://eslint.org/blog/2024/05/eslint-configuration-migrator/. Seems to work fine? Made sure to also update tsconfig.json's eslint config file include to "eslint.config.mjs".
|
Is your feature request related to a problem? Please describe.
This cli tool is great for setting up a project with a good base stack really quickly, only snag in productivity at the moment is requiring the conversion of
.eslintrc.json
to the neweslint.config.{m|c}js
format.Describe the solution you'd like to see
Update the standard configuration to utilise the new flat file configuration.
Describe alternate solutions
Write a codemod script that can be run by developers who want to use the new format.
Additional information
No response
The text was updated successfully, but these errors were encountered: