Skip to content
This repository was archived by the owner on Dec 30, 2020. It is now read-only.

Commit

Permalink
Enable new cops
Browse files Browse the repository at this point in the history
  • Loading branch information
will-in-wi committed Apr 18, 2020
1 parent db053f1 commit bc007d4
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AllCops:
- 'vendor/**/*'
TargetRubyVersion: 2.4
# Line length is something that isn't dogmatic. 80 chars is a good recommendation.
Metrics/LineLength:
Layout/LineLength:
Enabled: false
# This requires leading comments which can tend to be redundant.
Style/Documentation:
Expand Down Expand Up @@ -68,10 +68,17 @@ Layout/ClosingHeredocIndentation:
Enabled: false

# Enable new cops
# Layout/SpaceAroundMethodCallOperator
# Lint/RaiseException
# Lint/StructNewOverride
# Style/ExponentialNotation
# Style/HashEachMethods
# Style/HashTransformKeys
# Style/HashTransformValues
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

0 comments on commit bc007d4

Please sign in to comment.