1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2023-09-07 08 :42:40 UTC using RuboCop version 1.56.2 .
3
+ # on 2023-09-12 16 :42:15 UTC using RuboCop version 1.56.3 .
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 - [LH] -> Aug '23 - 370 files inspected, 1110 offenses detected, 482 offenses autocorrectable
10
10
# TODO - [LH] -> Sep 6 '23 - 370 files inspected, 983 offenses detected, 368 offenses autocorrectable
11
+ # TODO - [LH] -> Sep 11 '23 - 370 files inspected, 825 offenses detected, 387 offenses autocorrectable
12
+
13
+ # Offense count: 1
14
+ # This cop supports safe autocorrection (--autocorrect).
15
+ # Configuration parameters: EnforcedStyleAlignWith.
16
+ # SupportedStylesAlignWith: either, start_of_block, start_of_line
17
+ Layout/BlockAlignment :
18
+ Exclude :
19
+ - ' spec/cucumber/formatter/fail_fast_spec.rb'
20
+
21
+ # Offense count: 17
22
+ # This cop supports safe autocorrection (--autocorrect).
23
+ Layout/ClosingHeredocIndentation :
24
+ Exclude :
25
+ - ' spec/cucumber/cli/profile_loader_spec.rb'
26
+ - ' spec/cucumber/formatter/json_spec.rb'
27
+
28
+ # Offense count: 1
29
+ # This cop supports safe autocorrection (--autocorrect).
30
+ Layout/EmptyLines :
31
+ Exclude :
32
+ - ' spec/cucumber/formatter/fail_fast_spec.rb'
11
33
12
34
# Offense count: 38
13
35
# This cop supports safe autocorrection (--autocorrect).
@@ -22,12 +44,28 @@ Layout/HashAlignment:
22
44
- ' lib/cucumber/formatter/ansicolor.rb'
23
45
- ' lib/cucumber/gherkin/formatter/ansi_escapes.rb'
24
46
25
- # Offense count: 2
47
+ # Offense count: 4
26
48
# This cop supports safe autocorrection (--autocorrect).
27
49
Layout/HeredocIndentation :
28
50
Exclude :
29
51
- ' lib/cucumber/cli/options.rb'
30
52
- ' lib/cucumber/cli/profile_loader.rb'
53
+ - ' spec/cucumber/cli/profile_loader_spec.rb'
54
+
55
+ # Offense count: 3
56
+ # This cop supports safe autocorrection (--autocorrect).
57
+ # Configuration parameters: EnforcedStyle.
58
+ # SupportedStyles: normal, indented_internal_methods
59
+ Layout/IndentationConsistency :
60
+ Exclude :
61
+ - ' spec/cucumber/formatter/fail_fast_spec.rb'
62
+
63
+ # Offense count: 1
64
+ # This cop supports safe autocorrection (--autocorrect).
65
+ # Configuration parameters: Width, AllowedPatterns.
66
+ Layout/IndentationWidth :
67
+ Exclude :
68
+ - ' spec/cucumber/formatter/fail_fast_spec.rb'
31
69
32
70
# Offense count: 1
33
71
# This cop supports safe autocorrection (--autocorrect).
@@ -41,12 +79,6 @@ Lint/SuppressedException:
41
79
Exclude :
42
80
- ' lib/cucumber/rake/task.rb'
43
81
44
- # Offense count: 1
45
- # This cop supports unsafe autocorrection (--autocorrect-all).
46
- Lint/UselessAssignment :
47
- Exclude :
48
- - ' spec/cucumber/formatter/interceptor_spec.rb'
49
-
50
82
# Offense count: 9
51
83
# Configuration parameters: AllowedMethods, AllowedPatterns.
52
84
Metrics/CyclomaticComplexity :
@@ -77,11 +109,19 @@ RSpec/Capybara/FeatureMethods:
77
109
Exclude :
78
110
- ' spec/cucumber/filters/activate_steps_spec.rb'
79
111
80
- # Offense count: 85
112
+ # Offense count: 15
81
113
# Configuration parameters: Prefixes, AllowedPatterns.
82
114
# Prefixes: when, with, without
83
115
RSpec/ContextWording :
84
- Enabled : false
116
+ Exclude :
117
+ - ' spec/cucumber/cli/options_spec.rb'
118
+ - ' spec/cucumber/cli/rerun_spec.rb'
119
+ - ' spec/cucumber/configuration_spec.rb'
120
+ - ' spec/cucumber/filters/tag_limits_spec.rb'
121
+ - ' spec/cucumber/formatter/http_io_spec.rb'
122
+ - ' spec/cucumber/formatter/junit_spec.rb'
123
+ - ' spec/cucumber/formatter/publish_banner_printer_spec.rb'
124
+ - ' spec/cucumber/glue/step_definition_spec.rb'
85
125
86
126
# Offense count: 1
87
127
# Configuration parameters: IgnoredMetadata.
@@ -94,15 +134,15 @@ RSpec/DescribeClass:
94
134
- ' **/spec/views/**/*'
95
135
- ' spec/cck/cck_spec.rb'
96
136
97
- # Offense count: 18
137
+ # Offense count: 8
98
138
# This cop supports unsafe autocorrection (--autocorrect-all).
99
139
# Configuration parameters: SkipBlocks, EnforcedStyle.
100
140
# SupportedStyles: described_class, explicit
101
141
RSpec/DescribedClass :
102
142
Exclude :
103
- - ' spec/cucumber/formatter/interceptor_spec.rb'
143
+ - ' spec/cucumber/cli/profile_loader_spec.rb'
144
+ - ' spec/cucumber/formatter/json_spec.rb'
104
145
- ' spec/cucumber/multiline_argument/data_table_spec.rb'
105
- - ' spec/cucumber/runtime/support_code_spec.rb'
106
146
107
147
# Offense count: 2
108
148
# This cop supports unsafe autocorrection (--autocorrect-all).
@@ -119,12 +159,12 @@ RSpec/EmptyLineAfterFinalLet:
119
159
- ' spec/cucumber/configuration_spec.rb'
120
160
- ' spec/cucumber/hooks_spec.rb'
121
161
122
- # Offense count: 150
162
+ # Offense count: 101
123
163
# Configuration parameters: CountAsOne.
124
164
RSpec/ExampleLength :
125
165
Max : 58
126
166
127
- # Offense count: 4
167
+ # Offense count: 1
128
168
# This cop supports safe autocorrection (--autocorrect).
129
169
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
130
170
# DisallowedExamples: works
@@ -146,54 +186,32 @@ RSpec/ExpectInHook:
146
186
- ' spec/cucumber/multiline_argument/data_table_spec.rb'
147
187
- ' spec/cucumber/runtime/meta_message_builder_spec.rb'
148
188
149
- # Offense count: 9
189
+ # Offense count: 6
150
190
RSpec/ExpectOutput :
151
191
Exclude :
152
192
- ' spec/cucumber/formatter/interceptor_spec.rb'
153
193
154
- # Offense count: 71
194
+ # Offense count: 62
155
195
# This cop supports safe autocorrection (--autocorrect).
156
196
# Configuration parameters: EnforcedStyle.
157
197
# SupportedStyles: implicit, each, example
158
198
RSpec/HookArgument :
159
199
Enabled : false
160
200
161
- # Offense count: 4
162
- # This cop supports safe autocorrection (--autocorrect).
163
- RSpec/HooksBeforeExamples :
164
- Exclude :
165
- - ' spec/cucumber/formatter/interceptor_spec.rb'
166
-
167
201
# Offense count: 15
168
202
# Configuration parameters: AssignmentOnly.
169
203
RSpec/InstanceVariable :
170
204
Exclude :
171
205
- ' spec/cucumber/formatter/http_io_spec.rb'
172
206
173
- # Offense count: 1
174
- RSpec/IteratedExpectation :
175
- Exclude :
176
- - ' spec/cucumber/filters/gated_receiver_spec.rb'
177
-
178
- # Offense count: 59
207
+ # Offense count: 6
179
208
# Configuration parameters: EnforcedStyle.
180
209
# SupportedStyles: have_received, receive
181
210
RSpec/MessageSpies :
182
211
Exclude :
183
- - ' spec/cucumber/cli/configuration_spec.rb'
184
- - ' spec/cucumber/cli/main_spec.rb'
185
- - ' spec/cucumber/cli/options_spec.rb'
186
- - ' spec/cucumber/filters/activate_steps_spec.rb'
187
- - ' spec/cucumber/filters/gated_receiver_spec.rb'
188
- - ' spec/cucumber/filters/retry_spec.rb'
189
- - ' spec/cucumber/filters/tag_limits_spec.rb'
190
- - ' spec/cucumber/formatter/interceptor_spec.rb'
191
- - ' spec/cucumber/glue/registry_and_more_spec.rb'
192
- - ' spec/cucumber/glue/step_definition_spec.rb'
193
- - ' spec/cucumber/project_initializer_spec.rb'
194
- - ' spec/cucumber/runtime/meta_message_builder_spec.rb'
195
- - ' spec/cucumber/step_match_search_spec.rb'
196
- - ' spec/cucumber/world/pending_spec.rb'
212
+ - ' spec/cucumber/deprecate_spec.rb'
213
+ - ' spec/cucumber/formatter/http_io_spec.rb'
214
+ - ' spec/cucumber/runtime/hooks_examples.rb'
197
215
198
216
# Offense count: 15
199
217
RSpec/MissingExampleGroupArgument :
@@ -202,11 +220,11 @@ RSpec/MissingExampleGroupArgument:
202
220
- ' spec/cucumber/formatter/fail_fast_spec.rb'
203
221
- ' spec/cucumber/formatter/rerun_spec.rb'
204
222
205
- # Offense count: 90
223
+ # Offense count: 87
206
224
RSpec/MultipleExpectations :
207
225
Max : 8
208
226
209
- # Offense count: 37
227
+ # Offense count: 38
210
228
# Configuration parameters: AllowSubject.
211
229
RSpec/MultipleMemoizedHelpers :
212
230
Max : 15
@@ -254,10 +272,9 @@ RSpec/RepeatedExample:
254
272
- ' spec/cucumber/formatter/rerun_spec.rb'
255
273
- ' spec/cucumber/world/pending_spec.rb'
256
274
257
- # Offense count: 4
275
+ # Offense count: 2
258
276
RSpec/RepeatedExampleGroupDescription :
259
277
Exclude :
260
- - ' spec/cucumber/formatter/interceptor_spec.rb'
261
278
- ' spec/cucumber/glue/proto_world_spec.rb'
262
279
263
280
# Offense count: 31
@@ -283,12 +300,6 @@ RSpec/ScatteredLet:
283
300
Exclude :
284
301
- ' spec/cucumber/runtime/support_code_spec.rb'
285
302
286
- # Offense count: 2
287
- # This cop supports safe autocorrection (--autocorrect).
288
- RSpec/ScatteredSetup :
289
- Exclude :
290
- - ' spec/cucumber/formatter/interceptor_spec.rb'
291
-
292
303
# Offense count: 9
293
304
RSpec/StubbedMock :
294
305
Exclude :
@@ -334,3 +345,22 @@ Style/ClassAndModuleChildren:
334
345
Style/ClassVars :
335
346
Exclude :
336
347
- ' spec/cucumber/glue/step_definition_spec.rb'
348
+
349
+ # Offense count: 6
350
+ # This cop supports safe autocorrection (--autocorrect).
351
+ Style/StderrPuts :
352
+ Exclude :
353
+ - ' examples/i18n/Rakefile'
354
+ - ' lib/cucumber/cli/main.rb'
355
+ - ' lib/cucumber/deprecate.rb'
356
+ - ' lib/cucumber/formatter/unicode.rb'
357
+ - ' lib/cucumber/rake/task.rb'
358
+ - ' spec/cucumber/formatter/interceptor_spec.rb'
359
+
360
+ # Offense count: 1
361
+ # This cop supports safe autocorrection (--autocorrect).
362
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
363
+ # SupportedStyles: single_quotes, double_quotes
364
+ Style/StringLiterals :
365
+ Exclude :
366
+ - ' spec/cucumber/cli/options_spec.rb'
0 commit comments