eslint-plugin-eslint-remove-unwanted-comments

1.0.1 • Public • Published

/##### ESLINT Custom Rule for removing unwanted comments and autofix it #######/

  • provides a whitelist so it doesnt remove everything

{ "plugins": ["my-eslint-plugin"], "rules": { "my-eslint-plugin/remove-unwanted-comments": ["error", { "whitelist": ["TODO:", "FIXME:"] }] } }

  • UPDATE: The plugin is semi efficient in removing comments that are lines of code that start with //
  • Need to fine tune the regex match

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    5
  • 1.0.0
    0

Package Sidebar

Install

npm i eslint-plugin-eslint-remove-unwanted-comments

Weekly Downloads

5

Version

1.0.1

License

MIT

Unpacked Size

2.82 kB

Total Files

4

Last publish

Collaborators

  • devanandragland