-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_rspec.yml
69 lines (51 loc) · 1.02 KB
/
.rubocop_rspec.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
57
58
59
60
61
62
63
64
65
66
67
68
69
require: rubocop-rspec
# RSpec:
# Patterns:
# - "(?:^|/)spec/"
# - "(?:^|/)test/"
RSpec/BeforeAfterAll:
Enabled: true
RSpec/ContextWording:
Enabled: true
Prefixes:
- when
- with
- without
- and
RSpec/DescribeClass:
Exclude:
- spec/gemfiles_spec.rb
- spec/webpacker_spec.rb
- spec/version_files_spec.rb
- spec/spellcheck_spec.rb
- spec/i18n_spec.rb
- "**/*/spec/**/*_badge_spec.rb"
- "**/tasks/**/*"
RSpec/ExampleLength:
Max: 49
RSpec/ExpectInHook:
Enabled: false
RSpec/IteratedExpectation:
Enabled: true
RSpec/LetSetup:
Enabled: false
RSpec/MessageSpies:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Max: 35
RSpec/NestedGroups:
Max: 7
RSpec/NamedSubject:
Enabled: false
RSpec/RepeatedExampleGroupDescription:
Enabled: true
RSpec/RepeatedExampleGroupBody:
Enabled: true
RSpec/VerifiedDoubles:
Enabled: false
RSpec/LeakyConstantDeclaration:
Enabled: false
RSpec/DescribedClass:
Enabled: false