-
Notifications
You must be signed in to change notification settings - Fork 44
/
.rubocop_todo.yml
241 lines (216 loc) · 8.4 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-05-09 14:44:08 UTC using RuboCop version 1.50.2.
# 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: 8
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
Layout/EmptyLineBetweenDefs:
Exclude:
- 'lib/staccato/tracker.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: around, only_before
Layout/EmptyLinesAroundAccessModifier:
Exclude:
- 'lib/staccato/adapter/logger.rb'
- 'lib/staccato/hit.rb'
# Offense count: 9
# This cop supports safe autocorrection (--autocorrect).
Layout/SpaceAfterComma:
Exclude:
- 'lib/staccato/adapter/logger.rb'
- 'lib/staccato/boolean_helpers.rb'
- 'lib/staccato/hit.rb'
- 'lib/staccato/measurable.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
Layout/SpaceAroundEqualsInParameterDefault:
Exclude:
- 'lib/staccato/tracker.rb'
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
# SupportedStylesForExponentOperator: space, no_space
Layout/SpaceAroundOperators:
Exclude:
- 'lib/staccato/measurable.rb'
- 'lib/staccato/measurement/impression_list.rb'
- 'lib/staccato/measurement/product.rb'
- 'lib/staccato/measurement/promotion.rb'
- 'lib/staccato/timing.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Performance/BlockGivenWithExplicitBlock:
Exclude:
- 'lib/staccato/timing.rb'
- 'lib/staccato/tracker.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Performance/InefficientHashSearch:
Exclude:
- 'lib/staccato/hit.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
RSpec/ContextMethod:
Exclude:
- 'spec/lib/staccato/tracker_spec.rb'
# Offense count: 10
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- 'spec/integration/measurement/checkout_option_spec.rb'
- 'spec/integration/measurement/checkout_spec.rb'
- 'spec/integration/measurement/product_impression_spec.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/integration/measurement/promotion_spec.rb'
- 'spec/integration/measurement/transaction_spec.rb'
- 'spec/lib/stacatto_spec.rb'
- 'spec/lib/staccato/tracker_spec.rb'
# Offense count: 1
RSpec/DescribeMethod:
Exclude:
- 'spec/integration/tracker_spec.rb'
# Offense count: 20
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SkipBlocks, EnforcedStyle.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
Exclude:
- 'spec/integration/measurement/product_impression_spec.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/lib/stacatto_spec.rb'
- 'spec/lib/staccato/event_spec.rb'
- 'spec/lib/staccato/exception_spec.rb'
- 'spec/lib/staccato/measurement_spec.rb'
- 'spec/lib/staccato/pageview_spec.rb'
# Offense count: 1
RSpec/ExpectInHook:
Exclude:
- 'spec/integration/tracker_spec.rb'
# Offense count: 8
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/integration/measurement/checkout_option_spec.rb'
- 'spec/integration/measurement/checkout_spec.rb'
- 'spec/integration/measurement/product_impression_spec.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/integration/measurement/promotion_spec.rb'
- 'spec/integration/measurement/transaction_spec.rb'
- 'spec/integration/noop_tracker_spec.rb'
- 'spec/lib/stacatto_spec.rb'
# Offense count: 38
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
Exclude:
- 'spec/integration/measurement/checkout_option_spec.rb'
- 'spec/integration/measurement/checkout_spec.rb'
- 'spec/integration/measurement/product_impression_spec.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/integration/measurement/promotion_spec.rb'
- 'spec/integration/measurement/transaction_spec.rb'
- 'spec/integration/noop_tracker_spec.rb'
- 'spec/integration/tracker_spec.rb'
- 'spec/lib/stacatto_spec.rb'
- 'spec/lib/staccato/pageview_spec.rb'
- 'spec/lib/staccato/tracker_spec.rb'
# Offense count: 7
# Configuration parameters: EnforcedStyle.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
Exclude:
- 'spec/integration/noop_tracker_spec.rb'
# Offense count: 1
RSpec/MultipleDescribes:
Exclude:
- 'spec/integration/tracker_spec.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
Exclude:
- 'lib/staccato/hit.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/EmptyCaseCondition:
Exclude:
- 'lib/staccato/hit.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/GlobalStdStream:
Exclude:
- 'lib/staccato/adapter/logger.rb'
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowSplatArgument.
Style/HashConversion:
Exclude:
- 'lib/staccato/hit.rb'
- 'lib/staccato/measurable.rb'
- 'lib/staccato/measurement.rb'
# Offense count: 22
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
# SupportedShorthandSyntax: always, never, either, consistent
Style/HashSyntax:
Exclude:
- 'lib/staccato/adapter/http.rb'
- 'spec/integration/noop_tracker_spec.rb'
- 'spec/integration/tracker_spec.rb'
- 'spec/lib/staccato/event_spec.rb'
- 'spec/lib/staccato/pageview_spec.rb'
# Offense count: 10
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowedMethods, AllowedPatterns.
Style/MethodCallWithoutArgsParentheses:
Exclude:
- 'spec/integration/measurement/checkout_option_spec.rb'
- 'spec/integration/measurement/checkout_spec.rb'
- 'spec/integration/measurement/product_impression_spec.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/integration/measurement/promotion_spec.rb'
- 'spec/integration/measurement/transaction_spec.rb'
- 'spec/integration/noop_tracker_spec.rb'
- 'spec/integration/tracker_spec.rb'
# Offense count: 7
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantSelf:
Exclude:
- 'lib/staccato/hit.rb'
- 'lib/staccato/measurable.rb'
- 'lib/staccato/timing.rb'
# Offense count: 45
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'lib/staccato.rb'
- 'lib/staccato/version.rb'
- 'spec/integration/measurement/product_spec.rb'
- 'spec/integration/noop_tracker_spec.rb'
- 'spec/integration/tracker_spec.rb'
- 'spec/lib/stacatto_spec.rb'
- 'spec/lib/staccato/event_spec.rb'
- 'spec/lib/staccato/pageview_spec.rb'
- 'spec/lib/staccato/tracker_spec.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
# AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
Style/TrivialAccessors:
Exclude:
- 'lib/staccato/tracker.rb'