Shareable ESLint Configuration
npm install --save-dev eslint eslint-plugin-node @anjanms/eslint-config
Optional: Install eslint-cli
globally for ease of use.
npm install --global eslint-cli
.eslintrc.json
{
"env": {
"browser": false,
"commonjs": false,
"node": false
},
"extends": "@anjanms/eslint-config",
"root": true
}