.rubocop.yml in fast_ignore-0.6.0 vs .rubocop.yml in fast_ignore-0.7.0
- old
+ new
@@ -12,10 +12,11 @@
- .bundle/**/*
- tmp/**/*
- vendor/**/*
DisplayCopNames: true
DisplayStyleGuide: true
+ TargetRubyVersion: 2.4
# all of our layout customisations are because we prefer indentation to be
# always consistently 2 spaces, for blocks, scopes, multiline expressions, etc
# e.g.
# class Klass
@@ -78,10 +79,13 @@
# to match our preference for consistent indentation
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
+Layout/LineLength:
+ Max: 120
+
# to match our preference for consistent indentation
# and hanging assignment looks lost
Layout/MultilineAssignmentLayout:
EnforcedStyle: same_line
@@ -112,13 +116,10 @@
- configure
- describe
- context
- shared_examples
-Metrics/LineLength:
- Max: 120
-
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
@@ -198,5 +199,14 @@
Style/SymbolArray:
Enabled: false
Style/WordArray:
Enabled: false
+
+Style/HashEachMethods:
+ Enabled: true
+
+Style/HashTransformKeys:
+ Enabled: true
+
+Style/HashTransformValues:
+ Enabled: true