forked from vlado/activerecord-cte
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
60 lines (44 loc) · 917 Bytes
/
.rubocop.yml
File metadata and controls
60 lines (44 loc) · 917 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
59
require:
- rubocop-minitest
- rubocop-performance
- rubocop-rake
AllCops:
NewCops: enable
TargetRubyVersion: 2.7
Gemspec/RequiredRubyVersion:
Enabled: false
Layout/LineLength:
AllowHeredoc: true
AllowURI: true
IgnoreCopDirectives: true
Max: 120
Exclude:
- "activerecord-cte.gemspec"
- "test/**/*"
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Metrics/AbcSize:
Exclude:
- "test/**/*_test.rb"
Metrics/ClassLength:
Exclude:
- "test/**/*_test.rb"
Metrics/CyclomaticComplexity:
Max: 7
Metrics/MethodLength:
Exclude:
- "test/**/*_test.rb"
Minitest/MultipleAssertions:
Max: 5
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Style/StringLiterals:
EnforcedStyle: double_quotes