forked from ninoseki/mihari
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
44 lines (44 loc) · 860 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
AllCops:
TargetRubyVersion: 3.2
NewCops: enable
Metrics/BlockLength:
Max: 150
Exclude:
- "spec/**/*"
- "*.gemspec"
Metrics/ClassLength:
Enabled: false
Metrics/MethodLength:
Max: 50
Metrics/AbcSize:
Max: 50
RSpec/MultipleMemoizedHelpers:
Max: 15
RSpec/ExampleLength:
Max: 20
RSpec/NestedGroups:
Max: 5
RSpec/RepeatedExampleGroupDescription:
Enabled: false
RSpec/ReceiveMessages:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/SpecFilePathFormat:
Enabled: false
FactoryBot/SyntaxMethods:
Enabled: false
require:
- rubocop-capybara
- rubocop-factory_bot
- rubocop-performance
- rubocop-rake
- rubocop-rspec
- rubocop-yard
- standard
- standard-custom
- standard-performance
inherit_gem:
standard: config/base.yml
standard-custom: config/base.yml
standard-performance: config/base.yml