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