forked from yegor256/0rsk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
45 lines (44 loc) · 913 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
AllCops:
Exclude:
- 'bin/**/*'
- 'assets/**/*'
DisplayCopNames: true
TargetRubyVersion: 2.6.0
NewCops: enable
SuggestExtensions: 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
Metrics/LineLength:
Max: 120
Style/MultilineBlockChain:
Enabled: false
Layout/MultilineOperationIndentation:
Enabled: false
Naming/MethodParameterName:
MinNameLength: 1
Layout/EmptyLineAfterGuardClause:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false