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
Background
PR #371 bumped TypeScript from 5.7.x to 5.9.3. However, the current
@typescript-eslintpackages (@typescript-eslint/parserand@typescript-eslint/eslint-plugin) are still pinned at v5.62.0, which officially supports TypeScript only up to ~5.1. Runningnpm run lintcurrently 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
@typescript-eslint/eslint-plugin^5.62.0@typescript-eslint/parser^5.62.0eslint^8.57.1eslint-config-prettier^8.10.0eslint-plugin-cypress^2.15.1eslint-plugin-perfectionist^2.6.0eslint-plugin-prettier^5.1.3eslint-plugin-react^7.34.0eslint-plugin-react-hooks^4.6.0eslint-plugin-simple-import-sort^12.0.0Notes
@typescript-eslintv8 requires ESLint 8.56.0+ or ESLint 9.x; upgrading to ESLint 9 (flat config) is the recommended path.eslint.config.js). The existing.eslintrc-based config will need to be migrated.eslint-plugin-*packages should be checked for ESLint 9 /@typescript-eslintv8 compatibility before upgrading.References