Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 653 Bytes

no-debugger.md

File metadata and controls

18 lines (11 loc) · 653 Bytes

no-debugger

✅ The extends: 'recommended' property in a configuration file enables this rule.

The {{debugger}} helper is equivalent to a JavaScript debugger statement. This will halt execution if the browser developer tools are open. That is undesirable in a production environment.

Examples

This rule forbids the following:

{{debugger}}

References