$ npm install @putout/plugin-remove-debugger
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
{
"rules": {
"remove-debugger": "on"
}
}
debugger;
console.log('hello');
console.log('hello');
Linter | Rule | Fix |
---|---|---|
π Putout | remove-debugger |
β |
β£ ESLint | no-debugger |
β |
π¦ RSLint | no-debugger |
β |
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE