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

Update to ESLint 9 #262

Open
wrslatz opened this issue Nov 5, 2024 · 3 comments
Open

Update to ESLint 9 #262

wrslatz opened this issue Nov 5, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@wrslatz
Copy link
Contributor

wrslatz commented Nov 5, 2024

Is your feature request related to a problem?

The project currently uses ESLint 8. ESLint 8 is now EOL and unsupported.

Describe the solution you'd like

The project should use ESLint 9 for linting.

Describe alternatives you've considered

No response

Additional context

vercel/next.js#64409 has been completed. It will be released as part of Next 15 soon. There is no info on support coming to Next 14, so this may require a major version update of Next at the same time.

@wrslatz wrslatz added the enhancement New feature or request label Nov 5, 2024
@wrslatz
Copy link
Contributor Author

wrslatz commented Nov 5, 2024

Attempting to update right now results in peer dependency conflicts

❯ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR!   dev @typescript-eslint/eslint-plugin@"8.13.0" from the root project
npm ERR!   @typescript-eslint/eslint-plugin@"^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0" from [email protected]
npm ERR!   node_modules/eslint-config-next
npm ERR!     dev eslint-config-next@"15.0.2" from the root project
npm ERR!   1 more (typescript-eslint)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! dev @typescript-eslint/eslint-plugin@"8.13.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @typescript-eslint/[email protected]
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   peer @typescript-eslint/parser@"^8.0.0 || ^8.0.0-alpha.0" from @typescript-eslint/[email protected]
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev @typescript-eslint/eslint-plugin@"8.13.0" from the root project

We'll need to wait for full support to release.

@wrslatz wrslatz self-assigned this Nov 5, 2024
@wrslatz
Copy link
Contributor Author

wrslatz commented Nov 5, 2024

@wrslatz
Copy link
Contributor Author

wrslatz commented Nov 21, 2024

Depends on #263

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

No branches or pull requests

1 participant