-
Notifications
You must be signed in to change notification settings - Fork 35
/
.rubocop.yml
51 lines (50 loc) · 1.01 KB
/
.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
AllCops:
Exclude:
- 'bin/**/*'
- 'assets/**/*'
DisplayCopNames: true
TargetRubyVersion: 2.6.0
NewCops: enable
SuggestExtensions: false
Layout/EndAlignment:
Enabled: false
Layout/IndentationWidth:
Enabled: false
Layout/ElseAlignment:
Enabled: false
Layout/RescueEnsureAlignment:
Enabled: false
Metrics/CyclomaticComplexity:
Max: 25
Style/MultilineTernaryOperator:
Enabled: false
Metrics/MethodLength:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Max: 100
Metrics/ClassLength:
Max: 300
Layout/EndOfLine:
EnforcedStyle: lf
Metrics/ParameterLists:
Max: 10
Layout/ParameterAlignment:
Enabled: false
Metrics/PerceivedComplexity:
Max: 25
Layout/LineLength:
Max: 120
Style/MultilineBlockChain:
Enabled: false
Layout/MultilineOperationIndentation:
Enabled: false
Naming/MethodParameterName:
MinNameLength: 1
Layout/EmptyLineAfterGuardClause:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false