Checks for over-complicated boolean expressions. Finds code like if (b == true), b || true, !false, etc.

Configuration

{
    "type": "SimplifyBooleanExpression",
    "props": {
        "severity": "ERROR"
    }
}