-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.rubocop.yml
More file actions
58 lines (42 loc) · 825 Bytes
/
.rubocop.yml
File metadata and controls
58 lines (42 loc) · 825 Bytes
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
AllCops:
NewCops: enable
TargetRubyVersion: 3.4
SuggestExtensions: false
Exclude:
- 'vendor/**/*'
- 'tmp/**/*'
- 'bin/**/*'
Style/Documentation:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/FrozenStringLiteralComment:
Enabled: false
Layout/LineLength:
Max: 125
Metrics/MethodLength:
Max: 50
Metrics/AbcSize:
Max: 40
Metrics/CyclomaticComplexity:
Max: 25
Metrics/PerceivedComplexity:
Max: 25
Metrics/BlockNesting:
Max: 5
Metrics/BlockLength:
Exclude:
- 'test/**/*'
- 'Rakefile'
Metrics/ClassLength:
Max: 350
Metrics/ParameterLists:
Max: 10
Lint/UnusedMethodArgument:
AllowUnusedKeywordArguments: true
Lint/EmptyBlock:
Enabled: false
Lint/SuppressedException:
AllowComments: true
Gemspec/RequiredRubyVersion:
Enabled: false