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