@putout/plugin-remove-debugger
🐊Putout plugin adds ability to find and remove 'debugger' statement
Last updated 10 months ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @putout/plugin-remove-debugger 
SYNC missed versions from official npm registry.

@putout/plugin-remove-debugger NPM version

The debugger statement invokes any available debugging functionality, such as setting a breakpoint. If no debugging functionality is available, this statement has no effect.

(c) MDN

🐊Putout plugin adds ability to find and remove debugger statement.

Install

npm i @putout/plugin-remove-debugger

Rule

{
    "rules": {
        "remove-debugger": "on"
    }
}

❌ Example of incorrect code

debugger;
console.log('hello');

βœ… Example of correct code

console.log('hello');

Comparison

Linter Rule Fix
🐊 Putout remove-debugger βœ…
⏣ ESLint no-debugger ❌
πŸ¦€ RSLint no-debugger ❌

License

MIT

Current Tags

  • 7.0.0                                ...           latest (10 months ago)

13 Versions

  • 7.0.0                                ...           10 months ago
  • 6.0.0                                ...           a year ago
  • 5.0.0                                ...           3 years ago
  • 4.0.2                                ...           3 years ago
  • 4.0.1                                ...           5 years ago
  • 4.0.0                                ...           5 years ago
  • 3.0.1                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (8)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE