mirror of
https://github.com/github/codeql.git
synced 2026-02-24 10:53:49 +01:00
19 lines
413 B
Plaintext
19 lines
413 B
Plaintext
/**
|
|
* @name Use of debugger statement
|
|
* @description The 'debugger' statement should not be used in production code.
|
|
* @kind problem
|
|
* @problem.severity recommendation
|
|
* @id js/debugger-statement
|
|
* @tags quality
|
|
* reliability
|
|
* correctness
|
|
* performance
|
|
* external/cwe/cwe-489
|
|
* @precision medium
|
|
*/
|
|
|
|
import javascript
|
|
|
|
from DebuggerStmt ds
|
|
select ds, "Do not use 'debugger'."
|