ソースを参照

Add more rubocop cop configurations

Andrew Swistak 6 年 前
コミット
6b0037969b
1 ファイル変更11 行追加0 行削除
  1. 11 0
      .rubocop.yml

+ 11 - 0
.rubocop.yml

@@ -150,9 +150,20 @@ Style/BlockComments:
 Style/RescueModifier:
   Enabled: false
 
+Style/StderrPuts:
+  Enabled: false
+
 Style/GuardClause:
   Enabled: false
 
+Style/TrailingCommaInArguments:
+  Enabled: true
+  EnforcedStyleForMultiline: comma
+
+Style/TrailingCommaInArrayLiteral:
+  Enabled: true
+  EnforcedStyleForMultiline: comma
+
 Metrics/BlockLength:
   Enabled: false