.rubocop.yml in legion-data-0.2.0 vs .rubocop.yml in legion-data-1.1.2
- old
+ new
@@ -1,18 +1,20 @@
require:
- rubocop-sequel
- rubocop-md
- rubocop-performance
-Metrics/LineLength:
+Layout/LineLength:
Max: 120
Exclude:
- 'lib/legion/data/migrations/*.rb'
Metrics/MethodLength:
Max: 30
Metrics/ClassLength:
Max: 1500
+Metrics/AbcSize:
+ Max: 34
Metrics/BlockLength:
Max: 50
Exclude:
- 'lib/legion/data/migrations/*'
Layout/SpaceAroundEqualsInParameterDefault:
@@ -23,8 +25,9 @@
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Style/Documentation:
Enabled: false
AllCops:
- TargetRubyVersion: 2.6
+ TargetRubyVersion: 2.5
+ NewCops: enable
Style/FrozenStringLiteralComment:
Enabled: false