-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
60 lines (43 loc) · 865 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
53
54
55
56
57
58
59
60
AllCops:
TargetRubyVersion: 3.1.2
NewCops: disable
Exclude:
- 'lib/external_plugins/**/*'
- 'vendor/**/*'
Layout/LineLength:
Max: 120
Metrics/MethodLength:
Max: 50
Metrics/AbcSize:
Enabled: false
Metrics/ClassLength:
Max: 200
Metrics/CyclomaticComplexity:
Max: 12
Metrics/BlockNesting:
Max: 4
Metrics/PerceivedComplexity:
Max: 12
Style/Documentation:
Enabled: false
Style/GlobalVars:
AllowedVariables: [$shutdown, $restart, $version]
Style/ClassAndModuleChildren:
EnforcedStyle: compact
Style/NegatedIf:
Enabled: false
Style/WordArray:
Enabled: false
Style/SymbolArray:
Enabled: false
Metrics/BlockLength:
Enabled: true
Exclude:
- spec/**/*
- lib/plugins/**/spec/*
Layout/EndOfLine:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Naming/MethodParameterName:
Enabled: false