Skip to content

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Import eslint-plugin-todo-plz in your eslint.config.js, register it under plugins, and configure the rules you want to use:

const todoPlz = require("eslint-plugin-todo-plz");

module.exports = [
  {
    plugins: {
      "todo-plz": todoPlz,
    },
    rules: {
      "todo-plz/ticket-ref": ["error", { pattern: "PROJ-[0-9]+" }],
    },
  },
];

Supported Rules

Inspiration

About

Enforce consistent and maintainable TODO comments

Topics

Resources

Stars

31 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages