.rubocop.yml in reek-5.5.0 vs .rubocop.yml in reek-5.6.0
- old
+ new
@@ -10,11 +10,11 @@
- 'tmp/**/*'
- 'vendor/**/*'
TargetRubyVersion: 2.3
# Tables are nice
-Layout/AlignHash:
+Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedHashRocketStyle: table
EnforcedLastArgumentHashStyle: ignore_implicit
# Place . on the previous line
@@ -23,10 +23,14 @@
# Require empty lines between defs, except for one-line defs
Layout/EmptyLineBetweenDefs:
AllowAdjacentOneLineDefs: true
+# Be rather lenient with line length
+Layout/LineLength:
+ Max: 120
+
# Always put the closing brace on the last line
Layout/MultilineMethodCallBraceLayout:
EnforcedStyle: same_line
# Indent one level for follow-up lines
@@ -52,13 +56,9 @@
# Spec blocks can be any size
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
-
-# Be rather lenient with line length
-Metrics/LineLength:
- Max: 120
# Keyword arguments make long parameter lists readable
Metrics/ParameterLists:
CountKeywordArgs: false