Style/YodaCondition modified
Style/YodaCondition modified

Switched to forbid_for_all_comparison_operators:
# bad
99 == foo
"bar" != foo
42 >= foo
10 < bar

# good
foo == 99
foo == "bar"
foo <= 42
bar > 10

Instead of:

# bad
foo == 99
foo == "bar"
foo <= 42
bar > 10

# good
99 == foo
"bar" != foo
42 >= foo
10 < bar

ikuseiGmbH/linters,ikuseiGmbH/linters