0.3.0 • Published 3 years ago
eslint-plugin-todo-errors v0.3.0
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.
:exclamation: Requirements
:rocket: 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.
:bulb: Credit
This plugin has been inspired by todo functionality in ember-template-lint.
:unlock: License
This project is licensed under the MIT License.