mirror of
https://github.com/github/codeql.git
synced 2025-12-24 20:56:33 +01:00
19 lines
523 B
Plaintext
19 lines
523 B
Plaintext
/**
|
|
* @name Use of for-in comprehension blocks
|
|
* @description 'for'-'in' comprehension blocks are a Mozilla-specific language extension
|
|
* that is no longer supported.
|
|
* @kind problem
|
|
* @problem.severity error
|
|
* @id js/for-in-comprehension
|
|
* @tags portability
|
|
* maintainability
|
|
* language-features
|
|
* external/cwe/cwe-758
|
|
* @precision very-high
|
|
*/
|
|
|
|
import javascript
|
|
|
|
from ForInComprehensionBlock ficb
|
|
select ficb, "For-in comprehension blocks are a non-standard language feature."
|