You don't need to install the base configuration (eslint-config-awzzm
)
because this configuration extends it.
Node.js v14 is required.
npm install --save-dev eslint-config-awzzm-node
# or
yarn add -D eslint-config-awzzm-node
Add it to your ESLint configuration:
{
"extends": ["awzzm-node"]
}
In order to work properly, some rules require you to specify the Node.js version you're using in your package.json:
{
"name": "my-package",
// ...
"engines": {
"node": ">=10.0.0"
}
}
You should lint your files with the same Node.js version as you use for running it.