@anireact/eslint-plugin
v1.2.2
Published
Custom ESLint rules.
Downloads
8
Readme
@anireact/eslint-plugin
Custom ESLint rules.
yarn add -D @anireact/eslint-plugin
Rules
@anireact/no-todo
module.exports = {
...other,
rules: {
...other.rules,
'@anireact/no-todo': [
'error',
{
patterns: [{ test: /\bTODO\b/, flags: 'u', name: 'TODO' }],
},
],
},
};
// Invalid:
// TODO: Description.
// TODO
// Valid:
// FUTURE: Description.
// Todo: future versions of this plugin will be able to ban malformed todo-comments.
License
MIT