eslint-config-mycs
v2.0.0
Published
Eslint config to use over all mycs projects
Downloads
3
Readme
eslint-config-mycs
This package provides mycs's eslint rules as an extensible shared config.
To install
- Install shared config
npm install --save-dev eslint-config-mycs
. - Install peerDependencies
(
export PKG=eslint-config-mycs;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
- Create a
.eslintrc.js
file and make sure that it contains the following:
module.exports = {
"extends": "mycs",
"rules": {
"require-jsdoc": "warn"
}
}
This will allow you to use the mycs eslint configuration and extend it with your own eslint configuration parameters.
Whenever editing the rules
Should you update the linting rules, please run the following command:
npm version minor