JavaScript: Demote HeterogenousComparison to warning level.

This commit is contained in:
Max Schaefer
2018-08-14 15:54:07 +01:00
parent 031964e853
commit 303b0a0027
2 changed files with 2 additions and 1 deletions

View File

@@ -81,6 +81,7 @@
| **Query** | **Expected impact** | **Change** |
|----------------------------|------------------------|------------------------------------------------------------------|
| Arguments redefined | Fewer results | This rule previously also flagged redefinitions of `eval`. This was an oversight that is now fixed. |
| Comparison between inconvertible types | Lower severity | The severity of this rule has been revised to "warning". |
| CORS misconfiguration for credentials transfer | More true-positive results | This rule now treats header names case-insensitively. |
| Hard-coded credentials | More true-positive results | This rule now recognizes secret cryptographic keys. |
| Incomplete sanitization | More true-positive results | This rule now recognizes incomplete URL encoding and decoding. |

View File

@@ -4,7 +4,7 @@
* the same type will always yield 'false', and an inequality comparison will always
* yield 'true'.
* @kind problem
* @problem.severity error
* @problem.severity warning
* @id js/comparison-between-incompatible-types
* @tags reliability
* correctness