Enable new cops by default

This commit is contained in:
Hakan Ensari 2020-05-02 17:07:54 +01:00
parent c36aabeb61
commit cb8dd05177
2 changed files with 1 additions and 16 deletions

View File

@ -6,4 +6,5 @@ require:
- rubocop-sequel
AllCops:
NewCops: enable
TargetRubyVersion: 2.7

View File

@ -6,19 +6,3 @@ Metrics/MethodLength:
Max: 13
Style/Documentation:
Enabled: false
# New cops
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