@putout/plugin-remove-debugger

putout plugin adds ability to find and remove process.exit

Usage no npm install needed!

<script type="module">
  import putoutPluginRemoveDebugger from 'https://cdn.skypack.dev/@putout/plugin-remove-debugger';
</script>

README

@putout/plugin-remove-debugger NPM version Dependency Status

putout plugin adds ability to find and remove debugger statement.

Install

npm i @putout/plugin-remove-debugger

Rule

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

❌ Incorrect code example

debugger;
console.log('hello');

✅ Correct code Example

console.log('hello');

License

MIT