11# This configuration was generated by
22# `rubocop --auto-gen-config --exclude-limit 10000`
3- # on 2024-11-11 08:39:28 UTC using RuboCop version 1.68.0.
3+ # on 2024-11-22 18:44:50 UTC using RuboCop version 1.68.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
@@ -29,6 +29,14 @@ Layout/BlockEndNewline:
2929 Exclude :
3030 - ' spec/inertia/rendering_spec.rb'
3131
32+ # Offense count: 2
33+ # This cop supports safe autocorrection (--autocorrect).
34+ # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
35+ # SupportedStyles: case, end
36+ Layout/CaseIndentation :
37+ Exclude :
38+ - ' lib/inertia_rails/renderer.rb'
39+
3240# Offense count: 2
3341# This cop supports safe autocorrection (--autocorrect).
3442# Configuration parameters: AllowForAlignment.
@@ -57,6 +65,14 @@ Layout/EmptyLinesAroundBlockBody:
5765 Exclude :
5866 - ' spec/inertia/rails_mimic_spec.rb'
5967
68+ # Offense count: 1
69+ # This cop supports safe autocorrection (--autocorrect).
70+ # Configuration parameters: EnforcedStyleAlignWith, Severity.
71+ # SupportedStylesAlignWith: keyword, variable, start_of_line
72+ Layout/EndAlignment :
73+ Exclude :
74+ - ' lib/inertia_rails/renderer.rb'
75+
6076# Offense count: 3
6177# This cop supports safe autocorrection (--autocorrect).
6278# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
@@ -123,20 +139,19 @@ Layout/SpaceInsideArrayLiteralBrackets:
123139 - ' spec/dummy/app/controllers/inertia_test_controller.rb'
124140 - ' spec/dummy/config/environments/production.rb'
125141
126- # Offense count: 22
142+ # Offense count: 20
127143# This cop supports safe autocorrection (--autocorrect).
128144# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
129145# SupportedStyles: space, no_space
130146# SupportedStylesForEmptyBraces: space, no_space
131147Layout/SpaceInsideBlockBraces :
132148 Exclude :
133- - ' lib/inertia_rails/renderer.rb'
134149 - ' spec/inertia/configuration_spec.rb'
135150 - ' spec/inertia/error_sharing_spec.rb'
136151 - ' spec/inertia/rendering_spec.rb'
137152 - ' spec/inertia/request_spec.rb'
138153
139- # Offense count: 130
154+ # Offense count: 128
140155# This cop supports safe autocorrection (--autocorrect).
141156# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
142157# SupportedStyles: space, no_space, compact
@@ -145,7 +160,6 @@ Layout/SpaceInsideHashLiteralBraces:
145160 Exclude :
146161 - ' lib/inertia_rails/controller.rb'
147162 - ' lib/inertia_rails/middleware.rb'
148- - ' lib/patches/mapper.rb'
149163 - ' spec/dummy/app/controllers/inertia_conditional_sharing_controller.rb'
150164 - ' spec/dummy/app/controllers/inertia_share_test_controller.rb'
151165 - ' spec/inertia/conditional_sharing_spec.rb'
@@ -282,6 +296,12 @@ Style/ConditionalAssignment:
282296 Exclude :
283297 - ' lib/inertia_rails/renderer.rb'
284298
299+ # Offense count: 1
300+ # This cop supports safe autocorrection (--autocorrect).
301+ Style/EachWithObject :
302+ Exclude :
303+ - ' lib/inertia_rails/renderer.rb'
304+
285305# Offense count: 1
286306# This cop supports safe autocorrection (--autocorrect).
287307# Configuration parameters: AutoCorrect, EnforcedStyle, AllowComments.
@@ -420,12 +440,15 @@ Style/HashSyntax:
420440 Exclude :
421441 - ' lib/tasks/inertia_rails.rake'
422442
423- # Offense count: 3
443+ # Offense count: 6
424444# This cop supports safe autocorrection (--autocorrect).
425445Style/IfUnlessModifier :
426446 Exclude :
427447 - ' lib/inertia_rails/configuration.rb'
428448 - ' lib/inertia_rails/controller.rb'
449+ - ' lib/patches/better_errors.rb'
450+ - ' lib/patches/debug_exceptions/patch-5-0.rb'
451+ - ' lib/patches/debug_exceptions/patch-5-1.rb'
429452 - ' spec/dummy/config/environments/test.rb'
430453
431454# Offense count: 2
@@ -440,13 +463,14 @@ Style/KeywordArgumentsMerging:
440463 Exclude :
441464 - ' lib/inertia_rails/configuration.rb'
442465
443- # Offense count: 2
466+ # Offense count: 3
444467# This cop supports safe autocorrection (--autocorrect).
445468# Configuration parameters: EnforcedStyle.
446469# SupportedStyles: line_count_dependent, lambda, literal
447470Style/Lambda :
448471 Exclude :
449472 - ' spec/dummy/app/controllers/inertia_lambda_shared_props_controller.rb'
473+ - ' spec/dummy/app/controllers/inertia_render_test_controller.rb'
450474 - ' spec/dummy/app/controllers/transformed_inertia_rails_mimic_controller.rb'
451475
452476# Offense count: 1
@@ -586,7 +610,7 @@ Style/SymbolArray:
586610 EnforcedStyle : percent
587611 MinSize : 3
588612
589- # Offense count: 11
613+ # Offense count: 16
590614# This cop supports safe autocorrection (--autocorrect).
591615# Configuration parameters: EnforcedStyleForMultiline.
592616# SupportedStylesForMultiline: comma, consistent_comma, no_comma
@@ -599,7 +623,7 @@ Style/TrailingCommaInArguments:
599623 - ' spec/inertia/configuration_spec.rb'
600624 - ' spec/inertia/rendering_spec.rb'
601625
602- # Offense count: 17
626+ # Offense count: 21
603627# This cop supports safe autocorrection (--autocorrect).
604628# Configuration parameters: EnforcedStyleForMultiline.
605629# SupportedStylesForMultiline: comma, consistent_comma, no_comma
@@ -623,7 +647,7 @@ Style/WordArray:
623647 EnforcedStyle : percent
624648 MinSize : 4
625649
626- # Offense count: 16
650+ # Offense count: 21
627651# This cop supports safe autocorrection (--autocorrect).
628652# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
629653# URISchemes: http, https
0 commit comments