-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
43 lines (35 loc) · 1.12 KB
/
.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
inherit_from: .rubocop_todo.yml
AllCops:
NewCops: enable
SuggestExtensions:
rubocop-rails: false
TargetRubyVersion: 3.0
require:
- rubocop-rspec
- rubocop-rake
# This prevents us from inlining code, which we think
# is often better then having lots if out-of-order method calls
Metrics/AbcSize:
Enabled: false
# This prevents us from co-locating functional code, which we think
# is often better then having lots of stateless files.
Metrics/ClassLength:
Enabled: false
# This prevents us from inlining code, which we think
# is often better then having lots if out-of-order method calls
Metrics/MethodLength:
Enabled: false
# This prevents us from inlining code, which we think
# is often better then having lots if out-of-order method calls
Metrics/ModuleLength:
Enabled: false
# This prevents us from inlining which we like. We like inlining!
RSpec/ExampleLength:
Enabled: False
# We believe that inlining is valuable and expecting one expectation
# forces us to avoid inlining.
RSpec/MultipleExpectations:
Enabled: False
# explicit makes specs easier to read
RSpec/DescribedClass:
EnforcedStyle: explicit