11# This configuration was generated by
22# `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.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
99# 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
1011
1112# Offense count: 38
1213# This cop supports safe autocorrection (--autocorrect).
@@ -21,23 +22,12 @@ Layout/HashAlignment:
2122 - ' lib/cucumber/formatter/ansicolor.rb'
2223 - ' lib/cucumber/gherkin/formatter/ansi_escapes.rb'
2324
24- # Offense count: 13
25+ # Offense count: 2
2526# This cop supports safe autocorrection (--autocorrect).
2627Layout/HeredocIndentation :
2728 Exclude :
28- - ' features/lib/support/feature_factory.rb'
2929 - ' lib/cucumber/cli/options.rb'
3030 - ' 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'
4131
4232# Offense count: 1
4333# This cop supports safe autocorrection (--autocorrect).
@@ -89,22 +79,7 @@ RSpec/Capybara/FeatureMethods:
8979 Exclude :
9080 - ' spec/cucumber/filters/activate_steps_spec.rb'
9181
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
10883# Configuration parameters: Prefixes, AllowedPatterns.
10984# Prefixes: when, with, without
11085RSpec/ContextWording :
@@ -135,63 +110,11 @@ RSpec/EmptyExampleGroup:
135110 - ' spec/cucumber/filters/activate_steps_spec.rb'
136111 - ' spec/cucumber/running_test_case_spec.rb'
137112
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-
179113# Offense count: 150
180114# Configuration parameters: CountAsOne.
181115RSpec/ExampleLength :
182116 Max : 58
183117
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-
195118# Offense count: 2
196119# This cop supports safe autocorrection (--autocorrect).
197120RSpec/ExpectActual :
@@ -218,13 +141,6 @@ RSpec/ExpectOutput:
218141RSpec/HookArgument :
219142 Enabled : false
220143
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-
228144# Offense count: 15
229145# Configuration parameters: AssignmentOnly.
230146RSpec/InstanceVariable :
@@ -291,17 +207,6 @@ RSpec/NamedSubject:
291207RSpec/NestedGroups :
292208 Max : 6
293209
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-
305210# Offense count: 4
306211# This cop supports unsafe autocorrection (--autocorrect-all).
307212# Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers.
@@ -346,13 +251,6 @@ RSpec/ReturnFromStub:
346251 - ' spec/cucumber/formatter/junit_spec.rb'
347252 - ' spec/cucumber/glue/registry_and_more_spec.rb'
348253
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-
356254# Offense count: 9
357255RSpec/StubbedMock :
358256 Exclude :
0 commit comments