regal
regal copied to clipboard
Rule: `unnecessary-unification`
Avoid
input.number = 5
Prefer
input.number == 5
Motivation: while there are a few valid cases for unification, the unification operator (=
) should not be used for simple comparison. TBD — more comprehensive explanation.