Migrate to eslint v9
To use eslint v9, make sure that the node version being used in your projection matches the criteria below as per eslint v9 migration docs.
- Node.js v18.18.0 and above
- Node.js v20.9.0 and above
- Node.js v21 and above
Uninstall @nish1896/eslint-config
.
npm uninstall @nish1896/eslint-config
yarn remove @nish1896/eslint-config
pnpm remove @nish1896/eslint-config
Install @nish1896/eslint-flat-config
.
npm i --save-dev @nish1896/eslint-flat-config
yarn add -D @nish1896/eslint-flat-config
pnpm add -D @nish1896/eslint-flat-config
Delete the .eslintrc
or .eslintrc.js
or .eslintrc.json
file and create eslint.config.mjs
file.
touch eslint.config.mjs
Refer the usage guide for eslint-flat-config to configure the appropriate modules based on your application framework. 🚀