@ww-digital/eslint-config
Advanced tools
ESlint config file for WWI
Weekly downloads
Readme
From the root of your project, run:
npm i -D @ww-digital/eslint-config
Add this to your package.json
in the scripts
section:
"eslint": "eslint ./"
Add this .eslintrc
file to the root of your project:
{
"extends": "@ww-digital/eslint-config/nodejs",
"rules": {}
}
** You may substitute angularjs
for nodejs
Then you can simply run:
npm run eslint
You can add rules specific to your project in the .eslintrc
file that was created in the root of your project.