eslint-plugin-todo-plz

1.3.0 • Public • Published

eslint-plugin-todo-plz

Enforce consistent and maintainable TODO comments.

Screenshot

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-todo-plz:

$ npm install eslint-plugin-todo-plz --save-dev

Usage

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

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

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

{
  "rules": {
    "todo-plz/ticket-ref": ["error", { "pattern": "PROJ-[0-9]+" }]
  }
}

Supported Rules

Inspiration

Package Sidebar

Install

npm i eslint-plugin-todo-plz

Weekly Downloads

20,489

Version

1.3.0

License

MIT

Unpacked Size

4.29 kB

Total Files

4

Last publish

Collaborators

  • sawyerh