mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01: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 @@
|
||||
* @id js/bitwise-sign-check
|
||||
* @tags reliability
|
||||
* correctness
|
||||
* @precision medium
|
||||
* @precision low
|
||||
*/
|
||||
|
||||
import javascript
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* convention
|
||||
* external/cwe/cwe-570
|
||||
* external/cwe/cwe-571
|
||||
* @precision medium
|
||||
* @precision low
|
||||
*/
|
||||
|
||||
import Clones
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* @id js/misspelled-identifier
|
||||
* @tags maintainability
|
||||
* readability
|
||||
* @precision high
|
||||
* @precision low
|
||||
*/
|
||||
|
||||
import Misspelling
|
||||
|
||||
Reference in New Issue
Block a user