noDebugger
Ce contenu n’est pas encore disponible dans votre langue.
Diagnostic Category: lint/suspicious/noDebugger
Since: v1.0.0
Sources:
- Same as:
no-debugger
Disallow the use of debugger
Examples
Section titled ExamplesInvalid
Section titled Invalidcode-block.js:1:1 lint/suspicious/noDebugger FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ This is an unexpected use of the debugger statement.
> 1 │ debugger;
│ ^^^^^^^^^
2 │
ℹ Unsafe fix: Remove debugger statement
1 │ debugger;
│ ---------