-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
52 lines (52 loc) · 1000 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
---
AllCops:
TargetRubyVersion: 2.6
Layout/LineLength:
Enabled: false
Metrics/AbcSize:
Max: 30
Metrics/MethodLength:
Max: 30
Metrics/BlockLength:
Max: 50
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 11
NumericLiterals:
MinDigits: 10
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%': '{}'
'%i': ()
'%q': '{}'
'%Q': ()
'%r': '{}'
'%s': ()
'%w': '{}'
'%W': ()
'%x': ()
Style/SymbolArray:
Enabled: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Layout/HeredocIndentation:
Enabled: false
Layout/ClosingHeredocIndentation:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Style/RegexpLiteral:
Enabled: false