1
1
# This configuration was generated by
2
2
# `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 .
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
@@ -44,29 +44,12 @@ Layout/ExtraSpacing:
44
44
- ' spec/inertia/request_spec.rb'
45
45
- ' spec/inertia/response_spec.rb'
46
46
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
-
55
47
# Offense count: 2
56
48
# This cop supports safe autocorrection (--autocorrect).
57
- # Configuration parameters: EnforcedStyle, IndentationWidth.
49
+ # Configuration parameters: IndentationWidth.
58
50
# SupportedStyles: special_inside_parentheses, consistent, align_braces
59
51
Layout/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
70
53
71
54
# Offense count: 6
72
55
# This cop supports safe autocorrection (--autocorrect).
@@ -99,24 +82,20 @@ Layout/SpaceInsideBlockBraces:
99
82
- ' spec/inertia/error_sharing_spec.rb'
100
83
- ' spec/inertia/request_spec.rb'
101
84
102
- # Offense count: 106
85
+ # Offense count: 56
103
86
# This cop supports safe autocorrection (--autocorrect).
104
87
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
105
88
# SupportedStyles: space, no_space, compact
106
89
# SupportedStylesForEmptyBraces: space, no_space
107
90
Layout/SpaceInsideHashLiteralBraces :
108
91
Exclude :
109
92
- ' lib/inertia_rails/controller.rb'
110
- - ' lib/inertia_rails/middleware.rb'
111
93
- ' spec/dummy/app/controllers/inertia_conditional_sharing_controller.rb'
112
94
- ' spec/dummy/app/controllers/inertia_share_test_controller.rb'
113
95
- ' spec/inertia/conditional_sharing_spec.rb'
114
- - ' spec/inertia/middleware_spec.rb'
115
96
- ' spec/inertia/rails_mimic_spec.rb'
116
97
- ' spec/inertia/request_spec.rb'
117
98
- ' spec/inertia/rspec_helper_spec.rb'
118
- - ' spec/inertia/sharing_spec.rb'
119
- - ' spec/inertia/ssr_spec.rb'
120
99
121
100
# Offense count: 2
122
101
# This cop supports safe autocorrection (--autocorrect).
@@ -164,14 +143,6 @@ Lint/SymbolConversion:
164
143
Exclude :
165
144
- ' spec/inertia/rails_mimic_spec.rb'
166
145
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
-
175
146
# Offense count: 1
176
147
Naming/AccessorMethodName :
177
148
Exclude :
@@ -190,12 +161,12 @@ Naming/FileName:
190
161
# Offense count: 2
191
162
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
192
163
# 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
194
165
Naming/VariableNumber :
195
166
Exclude :
196
167
- ' spec/dummy/app/controllers/inertia_test_controller.rb'
197
168
198
- # Offense count: 10
169
+ # Offense count: 7
199
170
# This cop supports safe autocorrection (--autocorrect).
200
171
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
201
172
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
@@ -210,12 +181,13 @@ Style/BlockDelimiters:
210
181
- ' spec/inertia/rails_mimic_spec.rb'
211
182
- ' spec/inertia/request_spec.rb'
212
183
- ' spec/inertia/rspec_helper_spec.rb'
213
- - ' spec/inertia/sharing_spec.rb'
214
184
215
185
# Offense count: 1
216
186
# This cop supports unsafe autocorrection (--autocorrect-all).
217
- # Configuration parameters: EnforcedStyle.
187
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForClasses, EnforcedStyleForModules .
218
188
# SupportedStyles: nested, compact
189
+ # SupportedStylesForClasses: , nested, compact
190
+ # SupportedStylesForModules: , nested, compact
219
191
Style/ClassAndModuleChildren :
220
192
Exclude :
221
193
- ' lib/inertia_rails/helper.rb'
@@ -255,7 +227,7 @@ Style/ExpandPathArguments:
255
227
Exclude :
256
228
- ' spec/rails_helper.rb'
257
229
258
- # Offense count: 69
230
+ # Offense count: 65
259
231
# This cop supports unsafe autocorrection (--autocorrect-all).
260
232
# Configuration parameters: EnforcedStyle.
261
233
# SupportedStyles: always, always_true, never
@@ -321,15 +293,11 @@ Style/FrozenStringLiteralComment:
321
293
- ' spec/inertia/conditional_sharing_spec.rb'
322
294
- ' spec/inertia/error_sharing_spec.rb'
323
295
- ' spec/inertia/lazy_prop_spec.rb'
324
- - ' spec/inertia/middleware_spec.rb'
325
296
- ' spec/inertia/rails_mimic_spec.rb'
326
297
- ' spec/inertia/request_spec.rb'
327
298
- ' spec/inertia/response_spec.rb'
328
299
- ' spec/inertia/rspec_helper_spec.rb'
329
- - ' spec/inertia/sharing_spec.rb'
330
- - ' spec/inertia/ssr_spec.rb'
331
300
- ' spec/rails_helper.rb'
332
- - ' spec/spec_helper.rb'
333
301
- ' spec/support/shared_examples.rb'
334
302
335
303
# Offense count: 1
@@ -399,11 +367,6 @@ Style/NestedModifier:
399
367
Exclude :
400
368
- ' lib/inertia_rails/controller.rb'
401
369
402
- # Offense count: 1
403
- Style/OpenStructUse :
404
- Exclude :
405
- - ' spec/inertia/ssr_spec.rb'
406
-
407
370
# Offense count: 2
408
371
# This cop supports safe autocorrection (--autocorrect).
409
372
Style/RedundantBegin :
@@ -456,7 +419,6 @@ Style/StringLiterals:
456
419
- ' lib/inertia_rails/controller.rb'
457
420
- ' lib/inertia_rails/engine.rb'
458
421
- ' lib/inertia_rails/helper.rb'
459
- - ' lib/inertia_rails/middleware.rb'
460
422
- ' lib/inertia_rails/rspec.rb'
461
423
- ' lib/inertia_rails/version.rb'
462
424
- ' lib/patches/better_errors.rb'
@@ -476,7 +438,6 @@ Style/StringLiterals:
476
438
- ' spec/inertia/response_spec.rb'
477
439
- ' spec/inertia/rspec_helper_spec.rb'
478
440
- ' spec/rails_helper.rb'
479
- - ' spec/spec_helper.rb'
480
441
481
442
# Offense count: 2
482
443
# This cop supports safe autocorrection (--autocorrect).
@@ -511,15 +472,7 @@ Style/TrailingCommaInHashLiteral:
511
472
- ' spec/inertia/response_spec.rb'
512
473
- ' spec/inertia/rspec_helper_spec.rb'
513
474
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
523
476
# This cop supports safe autocorrection (--autocorrect).
524
477
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
525
478
# URISchemes: http, https
0 commit comments