0.0.2 • Published 3 years ago

eslint-plugin-todo-supervise v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

eslint-plugin-todo-supervise

检测代码中的todo项 是否描述清楚,时间是否在允许范围内

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-todo-supervise:

npm install eslint-plugin-todo-supervise --save-dev

Usage

Add todo-supervise to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "todo-supervise"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "todo-supervise/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here