-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
41 lines (38 loc) · 868 Bytes
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
AllCops:
Exclude:
- "Gemfile*"
- "gemfiles/**/*"
- "spec/**/*"
- "node_modules/**/*"
TargetRubyVersion: 2.4
Layout/DotPosition:
Enabled: true
Severity: warning
EnforcedStyle: trailing
Metrics/MethodLength:
Enabled: false
Style/Documentation:
Enabled: false
Style/RaiseArgs:
Enabled: false
Style/StringLiterals:
Enabled: true
Severity: warning
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
Enabled: true
Severity: warning
EnforcedStyle: double_quotes
Style/TrailingCommaInArguments:
Enabled: true
Severity: warning
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArrayLiteral:
Enabled: true
Severity: warning
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
Enabled: true
Severity: warning
EnforcedStyleForMultiline: consistent_comma