eslint-plugin-mcgs
v1.0.2
Published
mcgs code inspection
Downloads
5
Maintainers
Readme
eslint-plugin-mcgs
mcgs code inspection
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-mcgs
:
npm install eslint-plugin-mcgs --save-dev
Usage
Add mcgs
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"mcgs"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"mcgs/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.