-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop.yml
46 lines (40 loc) · 810 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
require: rubocop-rspec
AllCops:
NewCops: enable
TargetRubyVersion: 2.7
Exclude:
- vendor/**/*
Lint/AmbiguousBlockAssociation:
Exclude:
- spec/**/*
Metrics/AbcSize:
Max: 25
Metrics/BlockLength:
Exclude:
- spec/**/*
- rack_session_redis.gemspec
Metrics/CyclomaticComplexity:
Max: 10
Metrics/MethodLength:
Max: 20
Metrics/PerceivedComplexity:
Max: 10
RSpec/ExampleLength:
Enabled: false
RSpec/ExpectInHook:
Enabled: false
RSpec/MessageSpies:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/NamedSubject:
Enabled: false
RSpec/StubbedMock:
Enabled: false
# NOTE: we need to replicate existing functionality of redis-store
Security/MarshalLoad:
Enabled: false
Style/Documentation:
Enabled: false