All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
Explicit boolean values on the RHS can be dropped in boolean comparisons.
if (foo == true) { // do something } if (bar == false) { // do something }
if (foo) { // do something } if (!bar) { // do something }