Parcourir la source

Add more rubocop cop configurations

Andrew Swistak il y a 6 ans
Parent
commit
6b0037969b
1 fichiers modifiés avec 11 ajouts et 0 suppressions
  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