Skip to content

Update ESLint and related linting packages (including @typescript-eslint v8 for TypeScript 5.9.x) #388

@coderabbitai

Description

@coderabbitai

Background

PR #371 bumped TypeScript from 5.7.x to 5.9.3. However, the current @typescript-eslint packages (@typescript-eslint/parser and @typescript-eslint/eslint-plugin) are still pinned at v5.62.0, which officially supports TypeScript only up to ~5.1. Running npm run lint currently succeeds but emits an unsupported TypeScript version warning.

This issue tracks a follow-up upgrade of ESLint and all related linting packages.

Packages to update

Package Current version Target
@typescript-eslint/eslint-plugin ^5.62.0 v8.39.0+
@typescript-eslint/parser ^5.62.0 v8.39.0+
eslint ^8.57.1 latest (v9.x)
eslint-config-prettier ^8.10.0 latest
eslint-plugin-cypress ^2.15.1 latest
eslint-plugin-perfectionist ^2.6.0 latest
eslint-plugin-prettier ^5.1.3 latest
eslint-plugin-react ^7.34.0 latest
eslint-plugin-react-hooks ^4.6.0 latest
eslint-plugin-simple-import-sort ^12.0.0 latest

Notes

  • @typescript-eslint v8 requires ESLint 8.56.0+ or ESLint 9.x; upgrading to ESLint 9 (flat config) is the recommended path.
  • ESLint 9 introduces a new flat config format (eslint.config.js). The existing .eslintrc-based config will need to be migrated.
  • All eslint-plugin-* packages should be checked for ESLint 9 / @typescript-eslint v8 compatibility before upgrading.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions