eslint-config-ninja
v2.8.1
Published
## Install.
Downloads
27
Readme
#JavaScript linting rules and dependencies in one module.
Install.
npm i -D eslint-config-ninja
Add config to package.json.
{
"eslintConfig": {
"extends": "ninja"
}
}
Add lint as a script to package.json.
{
"scripts": {
"lint": "eslint . --fix"
}
}
Lint your JavaScript.
npm run lint
For more details, see ESLint's Shareable Configs.