2.0.1 • Published 3 years ago
eslint-plugin-no-record-time-test v2.0.1
eslint-plugin-no-record-time
禁止定时器空运行
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-no-record-time
:
$ npm install eslint-plugin-no-record-time --save-dev
Usage
Add no-record-time
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"no-record-time"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"no-record-time/no-record-time": 2
}
}
Supported Rules
- Fill in provided rules here
2.0.1
3 years ago