@priver/eslint-config-node
Shareable config for eslint-plugin-node
.
Installation
Install the correct versions of each package, which are listed by the command:
yarn add --dev eslint eslint-plugin-import eslint-plugin-node @priver/eslint-config @priver/eslint-config-import @priver/eslint-config-node
# or
npm install --save-dev eslint eslint-plugin-import eslint-plugin-node @priver/eslint-config @priver/eslint-config-import @priver/eslint-config-node
Usage
Add the following in your .eslintrc.json
:
{
"root": true,
"extends": [
"@priver/eslint-config",
"@priver/eslint-config-import",
"@priver/eslint-config-node"
]
}