Skip to content

Commit

Permalink
Fixes #23235 - Disable Style/IfUnlessModifier cop
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoll authored and lzap committed Apr 23, 2018
1 parent d456035 commit 9544686
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,6 @@ Style/Alias:

Layout/DotPosition:
Enabled: false

Style/IfUnlessModifier:
Enabled: false
5 changes: 0 additions & 5 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -445,11 +445,6 @@ Style/IdenticalConditionalBranches:
Style/IfInsideElse:
Enabled: false

# Offense count: 175
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Enabled: false

# Offense count: 2
Style/IfUnlessModifierOfIfUnless:
Enabled: false
Expand Down

0 comments on commit 9544686

Please sign in to comment.