소스 검색

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