7.0.0 β€’ Published 2 months ago

@putout/plugin-remove-debugger v7.0.0

Weekly downloads
2,418
License
MIT
Repository
github
Last release
2 months ago

@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

LinterRuleFix
🐊 Putoutremove-debuggerβœ…
⏣ ESLintno-debugger❌
πŸ¦€ RSLintno-debugger❌

License

MIT

7.0.0

2 months ago

6.0.0

4 months ago

5.0.0

2 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

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago