MetaCredo. Check. Warning. BoolOperationOnSameValues
(MetaCredo v0.1.0)
View Source
Detects boolean operations where both operands are structurally identical,
such as x && x, x || x, x and x, x or x. These are always
redundant and likely indicate a copy-paste error.
Category: Warning / Priority: normal