.rubocop.yml in enumerate_it-3.0.0 vs .rubocop.yml in enumerate_it-3.1.0.rc1
- old
+ new
@@ -3,11 +3,11 @@
inherit_mode:
merge:
- Exclude
AllCops:
- TargetRubyVersion: 2.6
+ TargetRubyVersion: 2.4
DisplayCopNames: true
Exclude:
- 'lib/generators/enumerate_it/enum/templates/**/*'
- 'gemfiles/vendor/**/*'
@@ -16,18 +16,18 @@
Enabled: false
Layout/EndAlignment:
Enabled: false
-Metrics/LineLength:
+Layout/LineLength:
Max: 100
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
-Layout/AlignHash:
+Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedLastArgumentHashStyle: ignore_implicit
Layout/ElseAlignment:
Enabled: false
@@ -44,9 +44,18 @@
Style/Documentation:
Enabled: false
Style/GuardClause:
MinBodyLength: 3
+
+Style/HashEachMethods:
+ Enabled: true
+
+Style/HashTransformKeys:
+ Enabled: true
+
+Style/HashTransformValues:
+ Enabled: true
Naming/PredicateName:
Exclude:
- 'lib/enumerate_it/class_methods.rb'