Skip to content

Commit

Permalink
Disable new BinaryOperatorWithIdenticalOperands lint..
Browse files Browse the repository at this point in the history
- It was just added in 0.89.0
- It finds errors in simple math operations, has many errors reported,
such as:
  - rubocop/rubocop#8482
  - rubocop/rubocop#8478

It looks like the next version of rubocop may loosen it a bit, but let's
just disable it for now.
  • Loading branch information
JustinAiken committed Aug 26, 2020
1 parent 6d79de6 commit b144404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.yml
Expand Up @@ -166,7 +166,7 @@ Lint/UnusedMethodArgument:

Lint/BinaryOperatorWithIdenticalOperands:
Description: 'This cop checks for places where binary operator has identical operands.'
Enabled: true
Enabled: false

Lint/UselessElseWithoutRescue:
Description: 'Checks for useless `else` in `begin..end` without `rescue`.'
Expand Down

0 comments on commit b144404

Please sign in to comment.