-
Notifications
You must be signed in to change notification settings - Fork 6
Upgrade ESLint 9 → 10 (breaking changes) #285
Copy link
Copy link
Open
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file
Description
Context
Dependabot PR #272 attempted to bump @eslint/js from 9.x to 10.x, but CI fails — frontend lint/build breaks.
Breaking Changes in ESLint 10
- Node.js >= 20.19 required
- Config file lookup changed: starts from linted file directory, not CWD
- JSX elements treated as references:
no-unused-varsmay flag new issues with component imports - Legacy
.eslintrccompletely removed (we already use flat config — OK) - Deprecated context methods removed (affects custom rules/plugins)
Required Changes
- Bump
eslintfrom^9.xto^10.x - Bump
@eslint/jsto^10.x - Verify Node.js version in CI >= 20.19
- Verify plugin compatibility:
eslint-plugin-react-hooks,eslint-plugin-react-refresh,eslint-plugin-storybook - Run
npm run lintand fix any new errors from JSX reference tracking - Test config file lookup behavior in monorepo structure
References
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file