Skip to content

Upgrade to ESLint v10 once plugin ecosystem catches up #56

Description

@wizzomafizzo

Dependabot tried to bump @eslint/js to v10 in #50. ESLint 10.8.0 is now available, but the upgrade remains blocked by two plugins whose latest stable releases still cap peer support at ESLint 9.

Remaining upstream blockers

  • eslint-plugin-react — 7.37.5 supports only ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
  • eslint-plugin-jsx-a11y — 6.10.2 supports only ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9

Do not force these peer ranges. Wait for stable releases declaring ESLint 10 support.

Compatible prerequisites

  • eslint-plugin-react-hooks 7.1.1 supports ESLint 10
  • @tanstack/eslint-plugin-query 5.101.4 supports ESLint 10
  • eslint-plugin-react-refresh 0.5.3 supports ESLint 10
  • @typescript-eslint/* 8.58+ supports ESLint 10
  • eslint-plugin-import-x 4.16+ supports ESLint 10
  • eslint-plugin-testing-library 7.16+ supports ESLint 10
  • eslint-config-prettier 10.1+ supports ESLint 10
  • eslint-import-resolver-typescript 4.4+ supports ESLint 10
  • @vitest/eslint-plugin 1.6.24 is available as the maintained replacement for abandoned eslint-plugin-vitest

Project preparation

  • Replace eslint-plugin-vitest with @vitest/eslint-plugin
  • Bump eslint-plugin-react-hooks to 7.1.1
  • Bump eslint-plugin-react-refresh to 0.5.3

Final ESLint 10 upgrade

Once both upstream blockers release compatible versions:

  1. Land any remaining project preparation above.
  2. Bump eslint, @eslint/js, eslint-plugin-react, and eslint-plugin-jsx-a11y together.
  3. Run clean install, lint, typecheck, tests, formatting, build, and dependency audit.
  4. Close this issue when the ESLint 10 change is merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions