-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.rubocop.yml
More file actions
92 lines (67 loc) · 1.33 KB
/
.rubocop.yml
File metadata and controls
92 lines (67 loc) · 1.33 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
require:
- rubocop-rspec
plugins:
- rubocop-factory_bot
- rubocop-rails
AllCops:
NewCops: enable
TargetRubyVersion: 3.0
SuggestExtensions: false
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'bin/**/*'
- 'vendor/**/*'
- 'node_modules/**/*'
- 'spec/dummy/**/*'
Style/Documentation:
Enabled: false
Metrics/ClassLength:
Max: 500
Exclude:
- 'app/services/solid_queue_monitor/stylesheet_generator.rb'
- 'app/presenters/solid_queue_monitor/job_details_presenter.rb'
Metrics/ParameterLists:
Max: 8
Metrics/ModuleLength:
Max: 200
Metrics/MethodLength:
Max: 50
Metrics/BlockLength:
Max: 100
Metrics/AbcSize:
Max: 35
Exclude:
- 'app/controllers/solid_queue_monitor/base_controller.rb'
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 15
Layout/LineLength:
Max: 150
RSpec/MultipleExpectations:
Max: 15
RSpec/ExampleLength:
Max: 20
RSpec/IndexedLet:
Enabled: false
RSpec/AnyInstance:
Enabled: false
RSpec/NamedSubject:
Enabled: false
RSpec/LetSetup:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Max: 10
Capybara/RSpec/PredicateMatcher:
Enabled: false
Capybara/NegationMatcher:
Enabled: false
Capybara/ClickLinkOrButtonStyle:
Enabled: false
FactoryBot:
Enabled: false
Lint/MissingSuper:
Enabled: false
Rails/OutputSafety:
Enabled: false