eslint-plugin-no-record-time

2.0.0 • Public • Published

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/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-no-record-time

Weekly Downloads

1

Version

2.0.0

License

ISC

Unpacked Size

3.85 kB

Total Files

5

Last publish

Collaborators

  • qiwen