Why is this an issue?

Redundant Boolean literals should be removed from expressions to improve readability.

Noncompliant code example

if boolFunc() || false {
    // ...
}

flag := x && true

Compliant solution

if boolFunc() {
    // ...
}

flag := x