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.
npm install --save-dev eslint-plugin-todo-errors
Or
yarn add --dev eslint-plugin-todo-errors
Add todo-errors
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"todo-errors"
]
}
npx update-todo-errors
And don't forget to add a new task "Fix ESLint errors"
to your todo list.
This plugin has been inspired by todo functionality in ember-template-lint.
This project is licensed under the MIT License.