Files
codeql/javascript/ql/src/LanguageFeatures/SyntaxError.ql
2019-01-07 10:15:45 +00:00

17 lines
327 B
Plaintext

/**
* @name Syntax error
* @description A piece of code could not be parsed due to syntax errors.
* @kind problem
* @problem.severity error
* @id js/syntax-error
* @tags reliability
* correctness
* language-features
* @precision high
*/
import javascript
from JSParseError pe
select pe, pe.getMessage()