noDebugger
诊断类别:lint/suspicious/noDebugger
¥Diagnostic Category: lint/suspicious/noDebugger
自从:v1.0.0
¥Since: v1.0.0
来源:
¥Sources:
-
与以下相同:
no-debugger
¥Same as:
no-debugger
禁止使用 debugger
¥Disallow the use of debugger
¥Examples
¥Invalid
code-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;
│ ---------
¥Valid
¥Related links