@anireact/eslint-plugin
Custom ESLint rules.
Last updated a year ago by miyaokamarina .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @anireact/eslint-plugin 
SYNC missed versions from official npm registry.

@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

Current Tags

  • 1.2.2                                ...           latest (a year ago)

3 Versions

  • 1.2.2                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 3
This Week 3
This Month 9
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |