Skip to content

Commit

Permalink
Vendor rubocop-1.9.1 upstream configuration.
Browse files Browse the repository at this point in the history
Obvious fix; these changes are the result of automation not creative thinking.
  • Loading branch information
tas50 committed Feb 1, 2021
1 parent 5704a0b commit 8314301
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3521,6 +3521,9 @@ Style/IfWithBooleanLiteralBranches:
Description: 'Checks for redundant `if` with boolean literal branches.'
Enabled: pending
VersionAdded: '1.9'
SafeAutoCorrect: false
AllowedMethods:
- nonzero?

Style/IfWithSemicolon:
Description: 'Do not use if x; .... Use the ternary operator instead.'
Expand Down

0 comments on commit 8314301

Please sign in to comment.