-
Notifications
You must be signed in to change notification settings - Fork 9
/
.rubocop.yml
58 lines (42 loc) · 847 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
AllCops:
Exclude:
- 'spec/dummy/**/*'
- 'Guardfile'
RunRailsCops: false
Style/AlignHash:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Metrics/LineLength:
Max: 120
Exclude:
- 'spec/**/*'
Metrics/AbcSize:
Enabled: false
Style/Encoding:
EnforcedStyle: when_needed
Metrics/MethodLength:
Max: 35
Style/NumericLiterals:
MinDigits: 7
Metrics/ParameterLists:
CountKeywordArgs: false
Metrics/BlockNesting:
Max: 4
Metrics/ClassLength:
Max: 250
Metrics/CyclomaticComplexity:
Max: 12
Metrics/PerceivedComplexity:
Max: 12
Style/Documentation:
Exclude:
- 'spec/**/*'
Style/GuardClause:
Enabled: false
# Maybe this can go away eventually? It seems somewhat limiting though.
Style/RaiseArgs:
Enabled: false
Style/Next:
Enabled: false
Style/RescueModifier:
Enabled: false