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 - rubocop-sequel
AllCops: AllCops:
NewCops: enable
TargetRubyVersion: 2.7 TargetRubyVersion: 2.7

View File

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