NOTE: this package is not compatible with Elm 0.19.1
Forbid the use of expressions in an If condition whose value are always the same.
rules = [ NoConstantCondition.rule ]
if True then a else b if False then a else b if foo == foo then a else b
if foo == bar then a else b
Forbid the use of expressions in an If condition whose value are always the same.