v14.0.0
Major Changes
-
Some language options have been restored to defaults: (#145)
sourceTypeis now set to the default ofmodule(previouslyscriptin some scenarios).ecmaVersionis now set to the default oflatest(previously2022and6)- Babel has been removed
-
Replace
eslint-plugin-importwitheslint-plugin-import-x(#145)To migrate, any references to
eslint-plugin-importshould be replaced witheslint-plugin-import-x, andimport/rules withimport-x/.In addition, it's possible that this may introduce slight behaviour changes.
-
Require TypeScript peer dependency >=5.5.4 (#145)
-
Migrate to ESLint 9,
@typescript-eslint8. (#145)These changes may affect your project setup if you are customising your ESLint configuration. See the individual migration guides:
- https://eslint.org/docs/latest/use/migrate-to-9.0.0
- https://typescript-eslint.io/blog/announcing-typescript-eslint-v8
In addition, through these major upgrades, some lint rules have changed or have been renamed. You will likely need to autofix and/or adjust your code after running ESLint.
As part of this migration, this project has migrated to Flat ESLint configuration. Read the migration guide: https://eslint.org/docs/latest/use/configure/migration-guide.
Minor Changes
-
Upgrade a number of dependencies. These should have no/minimal impact. (#145)
eslint-plugin-cypresseslint-config-prettiereslint-plugin-jesteslint-plugin-react,eslint-plugin-react-hooks