@aoviz/eslint-plugin
v1.0.7-alpha.3
Published
自定义 lint 规则,保证代码的一致性
Downloads
210
Readme
@aoviz/eslint-plugin
naming convention
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install @aoviz/eslint-plugin
:
npm install @aoviz/eslint-plugin --save-dev
Usage
Add @aoviz
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"@aoviz"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"@aoviz/naming-convention": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.