Skip to content

KollegOFF/eslint-plugin-todo-errors

Repository files navigation

eslint-plugin-todo-errors

This plugin makes it easy to add ESLint or new rules for it to your project. It creates a list of errors that will be ignored when linting code so that you can clear this list gradually. This is a more flexible way than ignoring code, since a new code is checked in existing files.

❗ Requirements

🚀 Usage

1. Install plugin

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

Or

yarn add --dev eslint-plugin-todo-errors

2. Add plugin to your config

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

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

3. Create todo list for your project

npx update-todo-errors

And don't forget to add a new task "Fix ESLint errors" to your todo list.

💡 Credit

This plugin has been inspired by todo functionality in ember-template-lint.

🔓 License

This project is licensed under the MIT License.

About

An easy way to add ESLint or new rules for it to your project.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors