11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2023-04-03 00:36:28 UTC using RuboCop version 1.48.1 .
3+ # on 2025-07-05 14:01:58 UTC using RuboCop version 1.77.0 .
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
@@ -81,6 +81,7 @@ Lint/NonDeterministicRequireOrder:
8181# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
8282Naming/FileName :
8383 Exclude :
84+ - ' Rakefile.rb'
8485 - ' lib/ruby-link-checker.rb'
8586
8687# Offense count: 1
@@ -107,13 +108,13 @@ RSpec/BeNil:
107108# Offense count: 2
108109RSpec/BeforeAfterAll :
109110 Exclude :
110- - ' spec/spec_helper.rb'
111- - ' spec/rails_helper.rb'
112- - ' spec/support/**/*.rb'
111+ - ' **/ spec/spec_helper.rb'
112+ - ' **/ spec/rails_helper.rb'
113+ - ' **/ spec/support/**/*.rb'
113114 - ' spec/ruby-link-checker/net/http/checker_spec.rb'
114115 - ' spec/ruby-link-checker/typhoeus/hydra/checker_spec.rb'
115116
116- # Offense count: 34
117+ # Offense count: 35
117118# Configuration parameters: Prefixes, AllowedPatterns.
118119# Prefixes: when, with, without
119120RSpec/ContextWording :
@@ -127,7 +128,7 @@ RSpec/ContextWording:
127128
128129# Offense count: 1
129130# This cop supports unsafe autocorrection (--autocorrect-all).
130- # Configuration parameters: SkipBlocks, EnforcedStyle.
131+ # Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants .
131132# SupportedStyles: described_class, explicit
132133RSpec/DescribedClass :
133134 Exclude :
@@ -151,18 +152,6 @@ RSpec/ExpectInHook:
151152 - ' spec/ruby-link-checker/net/http/checker_spec.rb'
152153 - ' spec/ruby-link-checker/typhoeus/hydra/checker_spec.rb'
153154
154- # Offense count: 6
155- # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
156- # Include: **/*_spec*rb*, **/spec/**/*
157- RSpec/FilePath :
158- Exclude :
159- - ' spec/ruby-link-checker/callbacks_spec.rb'
160- - ' spec/ruby-link-checker/checker_spec.rb'
161- - ' spec/ruby-link-checker/config_spec.rb'
162- - ' spec/ruby-link-checker/net/http/checker_spec.rb'
163- - ' spec/ruby-link-checker/typhoeus/hydra/checker_spec.rb'
164- - ' spec/ruby-link-checker/version_spec.rb'
165-
166155# Offense count: 6
167156# Configuration parameters: AssignmentOnly.
168157RSpec/InstanceVariable :
@@ -187,7 +176,7 @@ RSpec/MessageSpies:
187176RSpec/MultipleExpectations :
188177 Max : 9
189178
190- # Offense count: 57
179+ # Offense count: 58
191180# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
192181# SupportedStyles: always, named_only
193182RSpec/NamedSubject :
@@ -202,6 +191,19 @@ RSpec/NamedSubject:
202191RSpec/NestedGroups :
203192 Max : 6
204193
194+ # Offense count: 6
195+ # Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
196+ # Include: **/*_spec.rb
197+ RSpec/SpecFilePathFormat :
198+ Exclude :
199+ - ' **/spec/routing/**/*'
200+ - ' spec/ruby-link-checker/callbacks_spec.rb'
201+ - ' spec/ruby-link-checker/checker_spec.rb'
202+ - ' spec/ruby-link-checker/config_spec.rb'
203+ - ' spec/ruby-link-checker/net/http/checker_spec.rb'
204+ - ' spec/ruby-link-checker/typhoeus/hydra/checker_spec.rb'
205+ - ' spec/ruby-link-checker/version_spec.rb'
206+
205207# Offense count: 39
206208RSpec/SubjectStub :
207209 Exclude :
@@ -216,6 +218,13 @@ Style/CaseEquality:
216218 Exclude :
217219 - ' spec/support/link_checker.rb'
218220
221+ # Offense count: 2
222+ # This cop supports unsafe autocorrection (--autocorrect-all).
223+ Style/ComparableBetween :
224+ Exclude :
225+ - ' lib/ruby-link-checker/net/http/result.rb'
226+ - ' lib/ruby-link-checker/typhoeus/hydra/result.rb'
227+
219228# Offense count: 20
220229# Configuration parameters: AllowedConstants.
221230Style/Documentation :
@@ -237,12 +246,21 @@ Style/Documentation:
237246 - ' lib/ruby-link-checker/typhoeus/hydra/config.rb'
238247 - ' lib/ruby-link-checker/typhoeus/hydra/result.rb'
239248
249+ # Offense count: 1
250+ # This cop supports safe autocorrection (--autocorrect).
251+ # Configuration parameters: EnforcedStyle.
252+ # SupportedStyles: trailing_conditional, ternary
253+ Style/EmptyStringInsideInterpolation :
254+ Exclude :
255+ - ' lib/ruby-link-checker/result.rb'
256+
240257# Offense count: 15
241258# This cop supports unsafe autocorrection (--autocorrect-all).
242259# Configuration parameters: EnforcedStyle.
243260# SupportedStyles: always, always_true, never
244261Style/FrozenStringLiteralComment :
245262 Exclude :
263+ - ' **/*.arb'
246264 - ' benchmarks/check.rb'
247265 - ' lib/ruby-link-checker/errors.rb'
248266 - ' lib/ruby-link-checker/net/http.rb'
@@ -304,9 +322,29 @@ Style/StringLiterals:
304322 Exclude :
305323 - ' lib/ruby-link-checker/checker.rb'
306324
325+ # Offense count: 3
326+ # This cop supports safe autocorrection (--autocorrect).
327+ Style/SuperArguments :
328+ Exclude :
329+ - ' lib/ruby-link-checker/net/http/checker.rb'
330+ - ' lib/ruby-link-checker/typhoeus/hydra/checker.rb'
331+ - ' spec/ruby-link-checker/typhoeus/hydra/checker_spec.rb'
332+
333+ # Offense count: 7
334+ # This cop supports safe autocorrection (--autocorrect).
335+ Style/SuperWithArgsParentheses :
336+ Exclude :
337+ - ' lib/ruby-link-checker/errors/redirect_loop_error.rb'
338+ - ' lib/ruby-link-checker/net/http/checker.rb'
339+ - ' lib/ruby-link-checker/net/http/result.rb'
340+ - ' lib/ruby-link-checker/result.rb'
341+ - ' lib/ruby-link-checker/typhoeus/hydra/checker.rb'
342+ - ' lib/ruby-link-checker/typhoeus/hydra/result.rb'
343+ - ' spec/ruby-link-checker/typhoeus/hydra/checker_spec.rb'
344+
307345# Offense count: 1
308346# This cop supports safe autocorrection (--autocorrect).
309- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
347+ # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings .
310348# URISchemes: http, https
311349Layout/LineLength :
312350 Max : 123
0 commit comments