eslint-plugin-check
v1.0.0
Published
代码检查插件
Downloads
275
Maintainers
Readme
eslint-plugin-check
代码检查插件
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-check
:
npm install eslint-plugin-check --save-dev
Usage
Add check
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"check"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"check/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here