eslint-plugin-eslint-no-operator
v1.0.0
Published
操作符、金额相关字段校验
Downloads
6
Maintainers
Readme
eslint-plugin-eslint-no-operator
操作符、金额相关字段校验
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-eslint-no-operator
:
$ npm install eslint-plugin-eslint-no-operator --save-dev
Usage
Add eslint-no-operator
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"eslint-no-operator"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint-no-operator/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here