ESLint 9
Since v4.0
the default version of ESLint is v9
, here is a guide how to upgrade.
Standard
In previous versions standard was used, be sure to remove it if present.
shell
npm remove eslint-config-standard
Neostandard
In previous versions neostandard was used, be sure to remove it if present.
shell
npm remove neostandard
Install
shell
npm i eslint@latest @eslint/js @stylistic/eslint-plugin --save-dev
- Copy
eslint.config.js
from the current stable version to your project - Remove
.eslintrc
If you were usingv8