mirror of
https://github.com/github/codeql.git
synced 2025-12-24 12:46:34 +01:00
18 lines
405 B
Plaintext
18 lines
405 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 efficiency
|
|
* maintainability
|
|
* language-features
|
|
* external/cwe/cwe-489
|
|
* @precision medium
|
|
*/
|
|
|
|
import javascript
|
|
|
|
from DebuggerStmt ds
|
|
select ds, "Do not use 'debugger'."
|