-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop.yml
56 lines (43 loc) · 978 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
45
46
47
48
49
50
51
52
53
54
55
56
AllCops:
TargetRubyVersion: 2.6
NewCops: enable
Exclude:
- .bundle/**/*
- bin/**/*
- vendor/**/*
- tmp/**/*
- log/**/*
- spec/support/**/*
require:
- rubocop-rspec
- rubocop-performance
- rubocop-thread_safety
Metrics/AbcSize:
Max: 30
Layout/LineLength:
Enabled: false
Metrics/MethodLength:
Max: 20
Metrics/BlockLength:
Exclude:
- spec/**/*
####################################################################################################
# RSpec Configurations
####################################################################################################
RSpec/MessageSpies:
EnforcedStyle: receive
RSpec/MultipleExpectations:
Max: 15
RSpec/NamedSubject:
Enabled: false
RSpec/NestedGroups:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/ExampleLength:
Max: 50
RSpec/AnyInstance:
Enabled: false
# This does not work with RPC messages
RSpec/VerifiedDoubles:
Enabled: false