11# This configuration was generated by
22# `rubocop --auto-gen-config --exclude-limit 10000`
3- # on 2025-03-04 09:53:10 UTC using RuboCop version 1.73.2 .
3+ # on 2025-04-01 18:59:20 UTC using RuboCop version 1.75.1 .
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
@@ -44,29 +44,12 @@ Layout/ExtraSpacing:
4444 - ' spec/inertia/request_spec.rb'
4545 - ' spec/inertia/response_spec.rb'
4646
47- # Offense count: 1
48- # This cop supports safe autocorrection (--autocorrect).
49- # Configuration parameters: EnforcedStyle, IndentationWidth.
50- # SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
51- Layout/FirstArgumentIndentation :
52- Exclude :
53- - ' spec/inertia/ssr_spec.rb'
54-
5547# Offense count: 2
5648# This cop supports safe autocorrection (--autocorrect).
57- # Configuration parameters: EnforcedStyle, IndentationWidth.
49+ # Configuration parameters: IndentationWidth.
5850# SupportedStyles: special_inside_parentheses, consistent, align_braces
5951Layout/FirstHashElementIndentation :
60- Exclude :
61- - ' spec/inertia/rspec_helper_spec.rb'
62-
63- # Offense count: 4
64- # This cop supports safe autocorrection (--autocorrect).
65- # Configuration parameters: EnforcedStyle, IndentationWidth.
66- # SupportedStyles: aligned, indented, indented_relative_to_receiver
67- Layout/MultilineMethodCallIndentation :
68- Exclude :
69- - ' spec/inertia/ssr_spec.rb'
52+ EnforcedStyle : consistent
7053
7154# Offense count: 6
7255# This cop supports safe autocorrection (--autocorrect).
@@ -99,24 +82,20 @@ Layout/SpaceInsideBlockBraces:
9982 - ' spec/inertia/error_sharing_spec.rb'
10083 - ' spec/inertia/request_spec.rb'
10184
102- # Offense count: 106
85+ # Offense count: 56
10386# This cop supports safe autocorrection (--autocorrect).
10487# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
10588# SupportedStyles: space, no_space, compact
10689# SupportedStylesForEmptyBraces: space, no_space
10790Layout/SpaceInsideHashLiteralBraces :
10891 Exclude :
10992 - ' lib/inertia_rails/controller.rb'
110- - ' lib/inertia_rails/middleware.rb'
11193 - ' spec/dummy/app/controllers/inertia_conditional_sharing_controller.rb'
11294 - ' spec/dummy/app/controllers/inertia_share_test_controller.rb'
11395 - ' spec/inertia/conditional_sharing_spec.rb'
114- - ' spec/inertia/middleware_spec.rb'
11596 - ' spec/inertia/rails_mimic_spec.rb'
11697 - ' spec/inertia/request_spec.rb'
11798 - ' spec/inertia/rspec_helper_spec.rb'
118- - ' spec/inertia/sharing_spec.rb'
119- - ' spec/inertia/ssr_spec.rb'
12099
121100# Offense count: 2
122101# This cop supports safe autocorrection (--autocorrect).
@@ -164,14 +143,6 @@ Lint/SymbolConversion:
164143 Exclude :
165144 - ' spec/inertia/rails_mimic_spec.rb'
166145
167- # Offense count: 1
168- # This cop supports safe autocorrection (--autocorrect).
169- # Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
170- # NotImplementedExceptions: NotImplementedError
171- Lint/UnusedMethodArgument :
172- Exclude :
173- - ' lib/patches/mapper.rb'
174-
175146# Offense count: 1
176147Naming/AccessorMethodName :
177148 Exclude :
@@ -190,12 +161,12 @@ Naming/FileName:
190161# Offense count: 2
191162# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
192163# SupportedStyles: snake_case, normalcase, non_integer
193- # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
164+ # AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
194165Naming/VariableNumber :
195166 Exclude :
196167 - ' spec/dummy/app/controllers/inertia_test_controller.rb'
197168
198- # Offense count: 10
169+ # Offense count: 7
199170# This cop supports safe autocorrection (--autocorrect).
200171# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
201172# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
@@ -210,12 +181,13 @@ Style/BlockDelimiters:
210181 - ' spec/inertia/rails_mimic_spec.rb'
211182 - ' spec/inertia/request_spec.rb'
212183 - ' spec/inertia/rspec_helper_spec.rb'
213- - ' spec/inertia/sharing_spec.rb'
214184
215185# Offense count: 1
216186# This cop supports unsafe autocorrection (--autocorrect-all).
217- # Configuration parameters: EnforcedStyle.
187+ # Configuration parameters: EnforcedStyle, EnforcedStyleForClasses, EnforcedStyleForModules .
218188# SupportedStyles: nested, compact
189+ # SupportedStylesForClasses: , nested, compact
190+ # SupportedStylesForModules: , nested, compact
219191Style/ClassAndModuleChildren :
220192 Exclude :
221193 - ' lib/inertia_rails/helper.rb'
@@ -255,7 +227,7 @@ Style/ExpandPathArguments:
255227 Exclude :
256228 - ' spec/rails_helper.rb'
257229
258- # Offense count: 69
230+ # Offense count: 65
259231# This cop supports unsafe autocorrection (--autocorrect-all).
260232# Configuration parameters: EnforcedStyle.
261233# SupportedStyles: always, always_true, never
@@ -321,15 +293,11 @@ Style/FrozenStringLiteralComment:
321293 - ' spec/inertia/conditional_sharing_spec.rb'
322294 - ' spec/inertia/error_sharing_spec.rb'
323295 - ' spec/inertia/lazy_prop_spec.rb'
324- - ' spec/inertia/middleware_spec.rb'
325296 - ' spec/inertia/rails_mimic_spec.rb'
326297 - ' spec/inertia/request_spec.rb'
327298 - ' spec/inertia/response_spec.rb'
328299 - ' spec/inertia/rspec_helper_spec.rb'
329- - ' spec/inertia/sharing_spec.rb'
330- - ' spec/inertia/ssr_spec.rb'
331300 - ' spec/rails_helper.rb'
332- - ' spec/spec_helper.rb'
333301 - ' spec/support/shared_examples.rb'
334302
335303# Offense count: 1
@@ -399,11 +367,6 @@ Style/NestedModifier:
399367 Exclude :
400368 - ' lib/inertia_rails/controller.rb'
401369
402- # Offense count: 1
403- Style/OpenStructUse :
404- Exclude :
405- - ' spec/inertia/ssr_spec.rb'
406-
407370# Offense count: 2
408371# This cop supports safe autocorrection (--autocorrect).
409372Style/RedundantBegin :
@@ -456,7 +419,6 @@ Style/StringLiterals:
456419 - ' lib/inertia_rails/controller.rb'
457420 - ' lib/inertia_rails/engine.rb'
458421 - ' lib/inertia_rails/helper.rb'
459- - ' lib/inertia_rails/middleware.rb'
460422 - ' lib/inertia_rails/rspec.rb'
461423 - ' lib/inertia_rails/version.rb'
462424 - ' lib/patches/better_errors.rb'
@@ -476,7 +438,6 @@ Style/StringLiterals:
476438 - ' spec/inertia/response_spec.rb'
477439 - ' spec/inertia/rspec_helper_spec.rb'
478440 - ' spec/rails_helper.rb'
479- - ' spec/spec_helper.rb'
480441
481442# Offense count: 2
482443# This cop supports safe autocorrection (--autocorrect).
@@ -511,15 +472,7 @@ Style/TrailingCommaInHashLiteral:
511472 - ' spec/inertia/response_spec.rb'
512473 - ' spec/inertia/rspec_helper_spec.rb'
513474
514- # Offense count: 1
515- # This cop supports safe autocorrection (--autocorrect).
516- # Configuration parameters: EnforcedStyle, MinSize, WordRegex.
517- # SupportedStyles: percent, brackets
518- Style/WordArray :
519- Exclude :
520- - ' lib/inertia_rails/middleware.rb'
521-
522- # Offense count: 17
475+ # Offense count: 24
523476# This cop supports safe autocorrection (--autocorrect).
524477# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
525478# URISchemes: http, https
0 commit comments