mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Lower precision for a number of queries.
These queries are currently run by default, but don't have their results displayed. Looking through results on LGTM.com, they are either false positives (e.g., `BitwiseSignCheck` which flags many perfectly harmless operations and `CompareIdenticalValues` which mostly flags NaN checks) or harmless results that developers are unlikely to care about (e.g., `EmptyArrayInit` or `MisspelledIdentifier`). With this PR, the only queries that are still run but not displayed are security queries, where different considerations may apply.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* @problem.severity recommendation
|
||||
* @id js/single-run-loop
|
||||
* @tags readability
|
||||
* @precision high
|
||||
* @precision low
|
||||
*/
|
||||
|
||||
import javascript
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @id js/nested-loops-with-same-variable
|
||||
* @tags maintainability
|
||||
* correctness
|
||||
* @precision medium
|
||||
* @precision low
|
||||
*/
|
||||
|
||||
import javascript
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* @id js/return-outside-function
|
||||
* @tags reliability
|
||||
* correctness
|
||||
* @precision medium
|
||||
* @precision low
|
||||
*/
|
||||
|
||||
import javascript
|
||||
|
||||
Reference in New Issue
Block a user