-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.rubocop.yml
More file actions
62 lines (48 loc) · 1.05 KB
/
.rubocop.yml
File metadata and controls
62 lines (48 loc) · 1.05 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
AllCops:
TargetRubyVersion: 3.2
NewCops: enable
Exclude:
- .bundle/**/*
- bin/**/*
- vendor/**/*
- tmp/**/*
- log/**/*
- spec/support/**/*
plugins:
- rubocop-packaging
- rubocop-performance
- rubocop-rake
- rubocop-rspec
- rubocop-thread_safety
Metrics/AbcSize:
Max: 30
Layout/LineLength:
Enabled: false
Metrics/MethodLength:
Max: 20
Metrics/BlockLength:
Exclude:
- spec/**/*
Naming/FileName:
Exclude:
- 'lib/gruf-commander.rb'
####################################################################################################
# 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