.rubocop.yml in hanzo-0.6.2 vs .rubocop.yml in hanzo-1.0.0
- old
+ new
@@ -2,10 +2,13 @@
Enabled: false
Encoding:
Enabled: false
+BlockLength:
+ Max: 100
+
LineLength:
Max: 200
ClassLength:
Max: 200
@@ -15,11 +18,11 @@
IfUnlessModifier:
Enabled: false
CaseIndentation:
- IndentWhenRelativeTo: case
+ EnforcedStyle: case
IndentOneStep: true
MethodLength:
CountComments: false
Max: 20
@@ -54,5 +57,9 @@
DoubleNegation:
Enabled: false
TrivialAccessors:
ExactNameMatch: true
+
+Style/PercentLiteralDelimiters:
+ PreferredDelimiters:
+ '%w': '()'