.rubocop.yml in narou-3.2.5.1 vs .rubocop.yml in narou-3.3.0
- old
+ new
@@ -17,12 +17,15 @@
Metrics/ModuleLength:
CountComments: false
Max: 300
Metrics/AbcSize:
- Max: 30
+ Max: 40
+Metrics/BlockLength:
+ Max: 40
+
Metrics/BlockNesting:
Max: 3
Metrics/CyclomaticComplexity:
Max: 8
@@ -80,13 +83,10 @@
Enabled: false
Style/DoubleNegation:
Enabled: false
-Style/FormatString:
- EnforcedStyle: percent
-
# 後置 if/unless を使わないほうがわかりやすい場合もある
Style/IfUnlessModifier:
Enabled: false
Style/HashSyntax:
@@ -214,12 +214,30 @@
Layout/EmptyLinesAroundClassBody:
Enabled: false
Style/FrozenStringLiteralComment:
- Enabled: false
+ Enabled: true
Layout/MultilineOperationIndentation:
Enabled: false
Layout/IndentHeredoc:
+ Enabled: true
+
+Style/NumericPredicate:
+ Enabled: false
+
+Lint/HandleExceptions:
+ Enabled: false
+
+Lint/RescueException:
+ Enabled: false
+
+Lint/EmptyWhen:
+ Enabled: false
+
+Style/FormatStringToken:
+ EnforcedStyle: unannotated
+
+Layout/EmptyLineAfterGuardClause:
Enabled: false