Skip to content

Commit

Permalink
Enable new RuboCop cops
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Apr 17, 2020
1 parent 1c06f58 commit 80ad69d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ Style/FrozenStringLiteralComment:
Layout/LineLength:
Max: 94

# Enable new cops from RuboCop 0.80, 0.81 and 0.82
Layout/SpaceAroundMethodCallOperator:
Enabled: true
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Style/ExponentialNotation:
Enabled: true
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true

# We only permit it in this one area which is internal code testing. Never exposed to users
Security/Eval:
Exclude:
Expand Down

0 comments on commit 80ad69d

Please sign in to comment.