forked from yegor256/0pdd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
45 lines (44 loc) · 881 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/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
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