Enforce not using "== false" in code.
This commit is contained in:
+5
-1
@@ -634,7 +634,11 @@
|
||||
},
|
||||
{
|
||||
"comment": "If enabled, complains about overly complicated boolean expressions.",
|
||||
"props": { "severity": "WARNING" },
|
||||
"props": {
|
||||
"severity": "WARNING",
|
||||
|
||||
"allowEqualsFalse": false
|
||||
},
|
||||
"type": "SimplifyBooleanExpression"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user