mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 04:22:28 +01:00
Enable new cops by default
This commit is contained in:
parent
c36aabeb61
commit
cb8dd05177
@ -6,4 +6,5 @@ require:
|
|||||||
- rubocop-sequel
|
- rubocop-sequel
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
|
NewCops: enable
|
||||||
TargetRubyVersion: 2.7
|
TargetRubyVersion: 2.7
|
||||||
|
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user