-
Notifications
You must be signed in to change notification settings - Fork 5
/
.rubocop_todo.yml
75 lines (65 loc) · 2.12 KB
/
.rubocop_todo.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
70
71
72
73
74
75
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-03-05 08:51:41 UTC using RuboCop version 1.11.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 1
# Cop supports --auto-correct.
Layout/EmptyLines:
Exclude:
- 'lib/solidus_drip.rb'
# Offense count: 4
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
Naming/VariableNumber:
Exclude:
- 'lib/solidus_drip/shopper_activity/order.rb'
# Offense count: 5
RSpec/AnyInstance:
Exclude:
- 'spec/models/order_spec.rb'
- 'spec/models/variant_spec.rb'
- 'spec/support/stub_drip_responses.rb'
# Offense count: 1
# Configuration parameters: Prefixes.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/models/order_spec.rb'
# Offense count: 2
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/models/order_spec.rb'
- 'spec/models/variant_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: .
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
EnforcedStyle: each
# Offense count: 11
# Configuration parameters: .
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
EnforcedStyle: receive
# Offense count: 3
RSpec/MultipleExpectations:
Max: 2
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Exclude:
- 'app/subscribers/solidus_drip/order_updater_subscriber.rb'
# Offense count: 2
# Cop supports --auto-correct.
Style/SingleArgumentDig:
Exclude:
- 'config/initializers/default_host.rb'
- 'lib/solidus_drip/base.rb'