.rubocop.yml in narou-3.2.3 vs .rubocop.yml in narou-3.2.4
- old
+ new
@@ -41,11 +41,11 @@
Max: 50
Metrics/PerceivedComplexity:
Max: 11
-Style/AccessorMethodName:
+Naming/AccessorMethodName:
Enabled: true
# 条件式の時に使った時のみ警告を出す
Style/AndOr:
EnforcedStyle: conditionals
@@ -103,11 +103,11 @@
# 1_000_000 と区切り文字が 2 個以上必要になる場合のみ _ 区切りを必須にする
Style/NumericLiterals:
MinDigits: 7
# has_ から始まるメソッドは許可する
-Style/PredicateName:
+Naming/PredicateName:
NamePrefixBlacklist:
- "is_"
- "have_"
NamePrefix:
- "is_"
@@ -183,10 +183,13 @@
Enabled: true
Layout/TrailingBlankLines:
Enabled: false
-Style/TrailingCommaInLiteral:
+Style/TrailingCommaInArrayLiteral:
+ Enabled: false
+
+Style/TrailingCommaInHashLiteral:
Enabled: false
Style/TrivialAccessors:
Enabled: true