-
Notifications
You must be signed in to change notification settings - Fork 32
/
.rubocop.yml
49 lines (48 loc) · 955 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
AllCops:
Exclude:
- 'bin/**/*'
- 'assets/**/*'
DisplayCopNames: true
TargetRubyVersion: 2.6.0
NewCops: enable
SuggestExtensions: false
Layout/MultilineOperationIndentation:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Naming/MethodParameterName:
MinNameLength: 1
Style/CommandLiteral:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Layout/IndentationWidth:
Enabled: false
Layout/ElseAlignment:
Enabled: false
Layout/EndAlignment:
Enabled: false
Lint/RescueException:
Enabled: false
Metrics/MethodLength:
Max: 50
Metrics/ClassLength:
Max: 200
Exclude:
- "test/test_*.rb"
Metrics/AbcSize:
Max: 60
Metrics/BlockLength:
Max: 100
Layout/MultilineMethodCallIndentation:
Enabled: false
Metrics/CyclomaticComplexity:
Max: 11
Metrics/PerceivedComplexity:
Max: 11
Layout/LineLength:
Max: 120
Style/OpenStructUse:
Enabled: false
Style/ComparableClamp:
Enabled: false