🐊Putout plugin adds ability to find and remove 'debugger' statement
npm install @putout/plugin-remove-debugger[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-debugger.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-debugger "npm"
> 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.
```
npm i @putout/plugin-remove-debugger
`json`
{
"rules": {
"remove-debugger": "on"
}
}
`js`
debugger;
console.log('hello');
`js`
console.log('hello');
Linter | Rule | Fix
--------|-------|------------|
🐊 Putout | remove-debugger | ✅
⏣ ESLint | no-debugger | ❌
🦀 RSLint | no-debugger` | ❌
MIT