eslint-plugin-gmm
v0.0.1
Published
自定义hst eslint 规则
Downloads
4
Maintainers
Readme
eslint-plugin-gmm
自定义hst eslint 规则
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-gmm
:
npm install eslint-plugin-gmm --save-dev
Usage
Add gmm
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"gmm"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"gmm/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.