eslint-plugin-todo-supervise

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-todo-supervise

Weekly Downloads

2

Version

0.0.2

License

ISC

Unpacked Size

9.38 kB

Total Files

8

Last publish

Collaborators

  • bigmanrr