$ cnpm install @putout/plugin-remove-debugger
The
debuggerstatement 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.
npm i @putout/plugin-remove-debugger
{
"rules": {
"remove-debugger": "on"
}
}
debugger;
console.log('hello');
console.log('hello');
| Linter | Rule | Fix |
|---|---|---|
| ???? Putout | remove-debugger |
✅ |
| ⏣ ESLint | no-debugger |
❌ |
| ???? RSLint | no-debugger |
❌ |
MIT
Copyright 2013 - present © cnpmjs.org | Home |