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-vars may flag new issues with component imports
- Legacy
.eslintrc completely removed (we already use flat config — OK)
- Deprecated context methods removed (affects custom rules/plugins)
Required Changes
- Bump
eslint from ^9.x to ^10.x
- Bump
@eslint/js to ^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 lint and fix any new errors from JSX reference tracking
- Test config file lookup behavior in monorepo structure
References
Context
Dependabot PR #272 attempted to bump
@eslint/jsfrom 9.x to 10.x, but CI fails — frontend lint/build breaks.Breaking Changes in ESLint 10
no-unused-varsmay flag new issues with component imports.eslintrccompletely removed (we already use flat config — OK)Required Changes
eslintfrom^9.xto^10.x@eslint/jsto^10.xeslint-plugin-react-hooks,eslint-plugin-react-refresh,eslint-plugin-storybooknpm run lintand fix any new errors from JSX reference trackingReferences