-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.rubocop.yml
61 lines (47 loc) · 1.19 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
require:
- solidus_dev_support/rubocop
AllCops:
Exclude:
- sandbox/**/*
- spec/dummy/**/*
- vendor/bundle/**/*
RSpec/DescribeClass:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Rails/ApplicationRecord:
Enabled: false
RSpec/MessageSpies:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Max: 8
RSpec/NamedSubject:
Enabled: false
Style/FrozenStringLiteralComment:
Exclude:
- spec/**/*
- db/migrate/**/*
- bin/**/*
RSpec/NestedGroups:
Enabled: false
RSpec/VerifiedDoubles:
IgnoreSymbolicNames: true
# Enabled on 2020-09-08
Rails/ActiveRecordCallbacksOrder: {Enabled: true}
Rails/AfterCommitOverride: {Enabled: true}
Rails/FindById: {Enabled: true}
Rails/Inquiry: {Enabled: true}
Rails/MailerName: {Enabled: true}
Rails/MatchRoute: {Enabled: true}
Rails/NegateInclude: {Enabled: true}
Rails/Pluck: {Enabled: true}
Rails/PluckInWhere: {Enabled: true}
Rails/RenderInline: {Enabled: true}
Rails/RenderPlainText: {Enabled: true}
Rails/ShortI18n: {Enabled: true}
Rails/SquishedSQLHeredocs: {Enabled: true}
Rails/WhereExists: {Enabled: true}
Rails/WhereNot: {Enabled: true}
Performance/Sum: {Enabled: true}