-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
48 lines (42 loc) · 870 Bytes
/
.rubocop.yml
File metadata and controls
48 lines (42 loc) · 870 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
AllCops:
TargetRubyVersion: 2.7
NewCops: enable
Exclude:
- "vendor/**/*"
- "ext/**/*"
- "bin/**/*"
- "Gemfile.lock"
- "*.gemspec"
# Allow long lines in specs for readability
Layout/LineLength:
Max: 120
Exclude:
- "spec/**/*"
# Allow long methods in specs
Metrics/MethodLength:
Exclude:
- "spec/**/*"
# Allow large spec files
Metrics/ModuleLength:
Exclude:
- "spec/**/*"
# Allow large spec classes
Metrics/ClassLength:
Exclude:
- "spec/**/*"
# Allow complex specs
Metrics/AbcSize:
Exclude:
- "spec/**/*"
# Documentation not required for specs
Style/Documentation:
Exclude:
- "spec/**/*"
# RSpec cops require rubocop-rspec gem
# Uncomment if you add rubocop-rspec to development dependencies
# RSpec/MultipleExpectations:
# Max: 10
# RSpec/NestedGroups:
# Max: 5
# RSpec/ExampleLength:
# Max: 20