eslint-modules-standard-deviation--es5
Add linter settings easily to any javascript ES5
project using shared eslint config, eslint-config-standard-deviation--es5, and ESLint
Installation
npm
npm install eslint eslint-modules-standard-deviation--es5 --save-dev
on npm 2
environments
npm install eslint eslint-config-standard-deviation--es5 eslint-modules-standard-deviation--es5 --save-dev
Usage
Add extends
to project .eslintrc
{
"extends": ["standard-deviation--es5"]
}
Add scripts to package.json
"scripts": {
"lint": "eslint . --ext .js",
"testonly": "echo \"Error: no test specified\" && exit 1",
"test": "npm run lint && npm run testonly"
}
[optional] enable/disable eslint rules
{
"extends": ["standard-deviation--es5"],
"rules": {
"space-before-function-paren": ["2", "always"]
}
}
Projects using eslint-modules-standard-deviation--es5
Contributing
- Documentation improvement
- Feel free to send any PR
License
ISC