1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2023-11-15 15:51:35 UTC using RuboCop version 1.44.1.
3
+ # on 2023-12-21 16:12:21 UTC using RuboCop version 1.44.1.
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
9
# TODO: Nov '23 -> 25 files inspected, 132 offenses detected, 102 offenses autocorrectable
10
-
11
- # Offense count: 1
12
- # This cop supports safe autocorrection (--autocorrect).
13
- # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
14
- # Include: **/*.gemspec
15
- Gemspec/OrderedDependencies :
16
- Exclude :
17
- - ' cucumber-wire.gemspec'
18
-
19
- # Offense count: 6
20
- # This cop supports safe autocorrection (--autocorrect).
21
- # Configuration parameters: EnforcedStyle.
22
- # SupportedStyles: leading, trailing
23
- Layout/DotPosition :
24
- Exclude :
25
- - ' lib/cucumber/wire/add_hooks_filter.rb'
26
- - ' lib/cucumber/wire/request_handler.rb'
27
-
28
- # Offense count: 1
29
- # This cop supports safe autocorrection (--autocorrect).
30
- Layout/ElseAlignment :
31
- Exclude :
32
- - ' lib/cucumber/wire/exception.rb'
33
-
34
- # Offense count: 1
35
- # This cop supports safe autocorrection (--autocorrect).
36
- # Configuration parameters: EnforcedStyleAlignWith, Severity.
37
- # SupportedStylesAlignWith: keyword, variable, start_of_line
38
- Layout/EndAlignment :
39
- Exclude :
40
- - ' lib/cucumber/wire/exception.rb'
41
-
42
- # Offense count: 1
43
- # This cop supports safe autocorrection (--autocorrect).
44
- # Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
45
- Layout/IndentationWidth :
46
- Exclude :
47
- - ' lib/cucumber/wire/exception.rb'
10
+ # TODO: Nov '23 -> 25 files inspected, 53 offenses detected, 28 offenses autocorrectable
48
11
49
12
# Offense count: 4
50
13
# This cop supports safe autocorrection (--autocorrect).
@@ -54,27 +17,6 @@ Layout/MultilineMethodCallIndentation:
54
17
Exclude :
55
18
- ' lib/cucumber/wire/request_handler.rb'
56
19
57
- # Offense count: 2
58
- # This cop supports safe autocorrection (--autocorrect).
59
- Layout/SpaceAfterComma :
60
- Exclude :
61
- - ' lib/cucumber/wire/request_handler.rb'
62
-
63
- # Offense count: 2
64
- # This cop supports safe autocorrection (--autocorrect).
65
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
66
- # SupportedStyles: space, no_space, compact
67
- # SupportedStylesForEmptyBrackets: space, no_space
68
- Layout/SpaceInsideArrayLiteralBrackets :
69
- Exclude :
70
- - ' features/support/fake_wire_server.rb'
71
-
72
- # Offense count: 3
73
- # This cop supports safe autocorrection (--autocorrect).
74
- Lint/AmbiguousRegexpLiteral :
75
- Exclude :
76
- - ' features/step_definitions/wire_steps.rb'
77
-
78
20
# Offense count: 3
79
21
# This cop supports safe autocorrection (--autocorrect).
80
22
# Configuration parameters: AllowSafeAssignment.
@@ -101,13 +43,6 @@ Lint/ToJSON:
101
43
Exclude :
102
44
- ' lib/cucumber/wire/data_packet.rb'
103
45
104
- # Offense count: 1
105
- # This cop supports safe autocorrection (--autocorrect).
106
- # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
107
- Lint/UnusedMethodArgument :
108
- Exclude :
109
- - ' lib/cucumber/wire/snippet.rb'
110
-
111
46
# Offense count: 1
112
47
Lint/UselessAssignment :
113
48
Exclude :
@@ -141,16 +76,6 @@ Performance/RegexpMatch:
141
76
Exclude :
142
77
- ' lib/cucumber/wire/configuration.rb'
143
78
144
- # Offense count: 8
145
- # This cop supports unsafe autocorrection (--autocorrect-all).
146
- # Configuration parameters: SkipBlocks, EnforcedStyle.
147
- # SupportedStyles: described_class, explicit
148
- RSpec/DescribedClass :
149
- Exclude :
150
- - ' spec/cucumber/wire/configuration_spec.rb'
151
- - ' spec/cucumber/wire/connections_spec.rb'
152
- - ' spec/cucumber/wire/data_packet_spec.rb'
153
-
154
79
# Offense count: 3
155
80
# Configuration parameters: CountAsOne.
156
81
RSpec/ExampleLength :
@@ -190,14 +115,6 @@ Security/YAMLLoad:
190
115
Exclude :
191
116
- ' lib/cucumber/wire/configuration.rb'
192
117
193
- # Offense count: 5
194
- # This cop supports safe autocorrection (--autocorrect).
195
- # Configuration parameters: EnforcedStyle.
196
- # SupportedStyles: prefer_alias, prefer_alias_method
197
- Style/Alias :
198
- Exclude :
199
- - ' lib/cucumber/wire/protocol/requests.rb'
200
-
201
118
# Offense count: 1
202
119
# This cop supports safe autocorrection (--autocorrect).
203
120
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
@@ -222,34 +139,6 @@ Style/ConditionalAssignment:
222
139
Exclude :
223
140
- ' lib/cucumber/wire/connection.rb'
224
141
225
- # Offense count: 1
226
- # This cop supports safe autocorrection (--autocorrect).
227
- # Configuration parameters: EnforcedStyle.
228
- # SupportedStyles: compact, expanded
229
- Style/EmptyMethod :
230
- Exclude :
231
- - ' lib/cucumber/wire/request_handler.rb'
232
-
233
- # Offense count: 24
234
- # This cop supports unsafe autocorrection (--autocorrect-all).
235
- # Configuration parameters: EnforcedStyle.
236
- # SupportedStyles: always, always_true, never
237
- Style/FrozenStringLiteralComment :
238
- Enabled : false
239
-
240
- # Offense count: 1
241
- # This cop supports safe autocorrection (--autocorrect).
242
- # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
243
- Style/GuardClause :
244
- Exclude :
245
- - ' lib/cucumber/wire/exception.rb'
246
-
247
- # Offense count: 2
248
- # This cop supports safe autocorrection (--autocorrect).
249
- Style/IfUnlessModifier :
250
- Exclude :
251
- - ' Gemfile'
252
-
253
142
# Offense count: 1
254
143
# This cop supports safe autocorrection (--autocorrect).
255
144
# Configuration parameters: EnforcedStyle.
@@ -266,12 +155,6 @@ Style/MutableConstant:
266
155
Exclude :
267
156
- ' lib/cucumber/wire/configuration.rb'
268
157
269
- # Offense count: 2
270
- # This cop supports safe autocorrection (--autocorrect).
271
- # Configuration parameters: Strict, AllowedNumbers, AllowedPatterns.
272
- Style/NumericLiterals :
273
- MinDigits : 6
274
-
275
158
# Offense count: 3
276
159
# This cop supports safe autocorrection (--autocorrect).
277
160
Style/ParallelAssignment :
@@ -280,34 +163,6 @@ Style/ParallelAssignment:
280
163
- ' lib/cucumber/wire/data_packet.rb'
281
164
- ' lib/cucumber/wire/step_argument.rb'
282
165
283
- # Offense count: 6
284
- # This cop supports safe autocorrection (--autocorrect).
285
- # Configuration parameters: PreferredDelimiters.
286
- Style/PercentLiteralDelimiters :
287
- Exclude :
288
- - ' spec/cucumber/wire/configuration_spec.rb'
289
- - ' spec/cucumber/wire/connection_spec.rb'
290
-
291
- # Offense count: 1
292
- # This cop supports safe autocorrection (--autocorrect).
293
- Style/RedundantBegin :
294
- Exclude :
295
- - ' features/support/fake_wire_server.rb'
296
-
297
- # Offense count: 5
298
- # This cop supports safe autocorrection (--autocorrect).
299
- Style/RedundantPercentQ :
300
- Exclude :
301
- - ' spec/cucumber/wire/configuration_spec.rb'
302
- - ' spec/cucumber/wire/connection_spec.rb'
303
-
304
- # Offense count: 1
305
- # This cop supports safe autocorrection (--autocorrect).
306
- # Configuration parameters: AllowMultipleReturnValues.
307
- Style/RedundantReturn :
308
- Exclude :
309
- - ' lib/cucumber/wire/configuration.rb'
310
-
311
166
# Offense count: 1
312
167
# This cop supports safe autocorrection (--autocorrect).
313
168
Style/RescueModifier :
@@ -335,18 +190,3 @@ Style/Semicolon:
335
190
Style/StringConcatenation :
336
191
Exclude :
337
192
- ' features/support/fake_wire_server.rb'
338
-
339
- # Offense count: 3
340
- # This cop supports safe autocorrection (--autocorrect).
341
- # Configuration parameters: MinSize.
342
- # SupportedStyles: percent, brackets
343
- Style/SymbolArray :
344
- EnforcedStyle : brackets
345
-
346
- # Offense count: 2
347
- # This cop supports safe autocorrection (--autocorrect).
348
- # Configuration parameters: WordRegex.
349
- # SupportedStyles: percent, brackets
350
- Style/WordArray :
351
- EnforcedStyle : percent
352
- MinSize : 4
0 commit comments