literal-comparison / R0123ΒΆ
Message emitted:
Comparison to literal
Description:
Used when comparing an object to a literal, which is usually what you do not want to do, since you can compare to a different literal than what was expected altogether.
Created by basic
checker