1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2023-09-02 09:39:29 UTC using RuboCop version 1.56.2.
3
+ # on 2023-09-06 13:00:58 UTC using RuboCop version 1.56.2.
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
+ # TODO - [LH] -> Sep 6 '23 - 370 files inspected, 983 offenses detected, 368 offenses autocorrectable
10
11
11
12
# Offense count: 38
12
13
# This cop supports safe autocorrection (--autocorrect).
@@ -21,23 +22,12 @@ Layout/HashAlignment:
21
22
- ' lib/cucumber/formatter/ansicolor.rb'
22
23
- ' lib/cucumber/gherkin/formatter/ansi_escapes.rb'
23
24
24
- # Offense count: 13
25
+ # Offense count: 2
25
26
# This cop supports safe autocorrection (--autocorrect).
26
27
Layout/HeredocIndentation :
27
28
Exclude :
28
- - ' features/lib/support/feature_factory.rb'
29
29
- ' lib/cucumber/cli/options.rb'
30
30
- ' lib/cucumber/cli/profile_loader.rb'
31
- - ' spec/cucumber/cli/configuration_spec.rb'
32
- - ' spec/cucumber/cli/profile_loader_spec.rb'
33
- - ' spec/cucumber/formatter/pretty_spec.rb'
34
-
35
- # Offense count: 1
36
- # This cop supports safe autocorrection (--autocorrect).
37
- # Configuration parameters: AllowedMethods, AllowedPatterns.
38
- Lint/AmbiguousBlockAssociation :
39
- Exclude :
40
- - ' spec/cucumber/glue/step_definition_spec.rb'
41
31
42
32
# Offense count: 1
43
33
# This cop supports safe autocorrection (--autocorrect).
@@ -89,22 +79,7 @@ RSpec/Capybara/FeatureMethods:
89
79
Exclude :
90
80
- ' spec/cucumber/filters/activate_steps_spec.rb'
91
81
92
- # Offense count: 13
93
- # This cop supports safe autocorrection (--autocorrect).
94
- RSpec/ContextMethod :
95
- Exclude :
96
- - ' spec/cucumber/deprecate_spec.rb'
97
- - ' spec/cucumber/formatter/backtrace_filter_spec.rb'
98
- - ' spec/cucumber/formatter/http_io_spec.rb'
99
- - ' spec/cucumber/formatter/query/hook_by_test_step_spec.rb'
100
- - ' spec/cucumber/formatter/query/pickle_by_test_spec.rb'
101
- - ' spec/cucumber/formatter/query/pickle_step_by_test_step_spec.rb'
102
- - ' spec/cucumber/formatter/query/step_definitions_by_test_step_spec.rb'
103
- - ' spec/cucumber/formatter/query/test_case_started_by_test_case_spec.rb'
104
- - ' spec/cucumber/formatter/url_reporter_spec.rb'
105
- - ' spec/cucumber/term/banner_spec.rb'
106
-
107
- # Offense count: 98
82
+ # Offense count: 85
108
83
# Configuration parameters: Prefixes, AllowedPatterns.
109
84
# Prefixes: when, with, without
110
85
RSpec/ContextWording :
@@ -135,63 +110,11 @@ RSpec/EmptyExampleGroup:
135
110
- ' spec/cucumber/filters/activate_steps_spec.rb'
136
111
- ' spec/cucumber/running_test_case_spec.rb'
137
112
138
- # Offense count: 6
139
- # This cop supports safe autocorrection (--autocorrect).
140
- # Configuration parameters: AllowConsecutiveOneLiners.
141
- RSpec/EmptyLineAfterExample :
142
- Exclude :
143
- - ' spec/cucumber/cli/options_spec.rb'
144
- - ' spec/cucumber/formatter/pretty_spec.rb'
145
- - ' spec/cucumber/multiline_argument/data_table_spec.rb'
146
-
147
- # Offense count: 1
148
- # This cop supports safe autocorrection (--autocorrect).
149
- RSpec/EmptyLineAfterExampleGroup :
150
- Exclude :
151
- - ' spec/cucumber/formatter/rerun_spec.rb'
152
-
153
- # Offense count: 10
154
- # This cop supports safe autocorrection (--autocorrect).
155
- RSpec/EmptyLineAfterFinalLet :
156
- Exclude :
157
- - ' spec/cucumber/cli/main_spec.rb'
158
- - ' spec/cucumber/configuration_spec.rb'
159
- - ' spec/cucumber/formatter/fail_fast_spec.rb'
160
- - ' spec/cucumber/formatter/junit_spec.rb'
161
- - ' spec/cucumber/formatter/pretty_spec.rb'
162
- - ' spec/cucumber/hooks_spec.rb'
163
- - ' spec/cucumber/rake/task_spec.rb'
164
-
165
- # Offense count: 3
166
- # This cop supports safe autocorrection (--autocorrect).
167
- # Configuration parameters: AllowConsecutiveOneLiners.
168
- RSpec/EmptyLineAfterHook :
169
- Exclude :
170
- - ' spec/cucumber/formatter/junit_spec.rb'
171
-
172
- # Offense count: 2
173
- # This cop supports safe autocorrection (--autocorrect).
174
- RSpec/EmptyLineAfterSubject :
175
- Exclude :
176
- - ' spec/cucumber/filters/tag_limits/verifier_spec.rb'
177
- - ' spec/cucumber/runtime/meta_message_builder_spec.rb'
178
-
179
113
# Offense count: 150
180
114
# Configuration parameters: CountAsOne.
181
115
RSpec/ExampleLength :
182
116
Max : 58
183
117
184
- # Offense count: 51
185
- # This cop supports safe autocorrection (--autocorrect).
186
- # Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
187
- # DisallowedExamples: works
188
- RSpec/ExampleWording :
189
- Exclude :
190
- - ' spec/cucumber/cli/configuration_spec.rb'
191
- - ' spec/cucumber/multiline_argument/data_table_spec.rb'
192
- - ' spec/cucumber/project_initializer_spec.rb'
193
- - ' spec/cucumber/rake/task_spec.rb'
194
-
195
118
# Offense count: 2
196
119
# This cop supports safe autocorrection (--autocorrect).
197
120
RSpec/ExpectActual :
@@ -218,13 +141,6 @@ RSpec/ExpectOutput:
218
141
RSpec/HookArgument :
219
142
Enabled : false
220
143
221
- # Offense count: 4
222
- # This cop supports safe autocorrection (--autocorrect).
223
- RSpec/HooksBeforeExamples :
224
- Exclude :
225
- - ' spec/cucumber/cli/configuration_spec.rb'
226
- - ' spec/cucumber/formatter/interceptor_spec.rb'
227
-
228
144
# Offense count: 15
229
145
# Configuration parameters: AssignmentOnly.
230
146
RSpec/InstanceVariable :
@@ -291,17 +207,6 @@ RSpec/NamedSubject:
291
207
RSpec/NestedGroups :
292
208
Max : 6
293
209
294
- # Offense count: 8
295
- # This cop supports safe autocorrection (--autocorrect).
296
- # Configuration parameters: EnforcedStyle.
297
- # SupportedStyles: not_to, to_not
298
- RSpec/NotToNot :
299
- Exclude :
300
- - ' spec/cucumber/filters/gated_receiver_spec.rb'
301
- - ' spec/cucumber/filters/tag_limits/verifier_spec.rb'
302
- - ' spec/cucumber/glue/step_definition_spec.rb'
303
- - ' spec/cucumber/multiline_argument/data_table_spec.rb'
304
-
305
210
# Offense count: 4
306
211
# This cop supports unsafe autocorrection (--autocorrect-all).
307
212
# Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers.
@@ -346,13 +251,6 @@ RSpec/ReturnFromStub:
346
251
- ' spec/cucumber/formatter/junit_spec.rb'
347
252
- ' spec/cucumber/glue/registry_and_more_spec.rb'
348
253
349
- # Offense count: 4
350
- # This cop supports safe autocorrection (--autocorrect).
351
- RSpec/ScatteredLet :
352
- Exclude :
353
- - ' spec/cucumber/glue/snippet_spec.rb'
354
- - ' spec/cucumber/runtime/support_code_spec.rb'
355
-
356
254
# Offense count: 9
357
255
RSpec/StubbedMock :
358
256
Exclude :
0 commit comments