Boolean literals should be avoided in comparison expressions == and != to improve code readability.
This rule also reports on redundant boolean operations.
Note that this rule requires Node.js to be available during analysis.
let someValue = "0";
// ...
if (someValue == true) { /* ... */ }
if (someBooleanValue != true) { /* ... */ }
doSomething(!false);
if (someValue && someValue != "0") { /* ... */ }
if (!someBooleanValue) { /* ... */ }
doSomething(true);