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-10 07 :53:12 UTC using RuboCop version 1.75 .2.
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
@@ -54,11 +54,10 @@ Layout/FirstArgumentIndentation:
54
54
55
55
# Offense count: 2
56
56
# This cop supports safe autocorrection (--autocorrect).
57
- # Configuration parameters: EnforcedStyle, IndentationWidth.
57
+ # Configuration parameters: IndentationWidth.
58
58
# SupportedStyles: special_inside_parentheses, consistent, align_braces
59
59
Layout/FirstHashElementIndentation :
60
- Exclude :
61
- - ' spec/inertia/rspec_helper_spec.rb'
60
+ EnforcedStyle : consistent
62
61
63
62
# Offense count: 4
64
63
# This cop supports safe autocorrection (--autocorrect).
@@ -68,14 +67,13 @@ Layout/MultilineMethodCallIndentation:
68
67
Exclude :
69
68
- ' spec/inertia/ssr_spec.rb'
70
69
71
- # Offense count: 6
70
+ # Offense count: 5
72
71
# This cop supports safe autocorrection (--autocorrect).
73
72
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
74
73
# SupportedStyles: space, no_space
75
74
# SupportedStylesForEmptyBraces: space, no_space
76
75
Layout/SpaceBeforeBlockBraces :
77
76
Exclude :
78
- - ' spec/dummy/app/controllers/inertia_render_test_controller.rb'
79
77
- ' spec/inertia/error_sharing_spec.rb'
80
78
- ' spec/inertia/request_spec.rb'
81
79
@@ -127,13 +125,12 @@ Layout/TrailingEmptyLines:
127
125
- ' lib/tasks/inertia_rails.rake'
128
126
- ' spec/inertia/rails_mimic_spec.rb'
129
127
130
- # Offense count: 10
128
+ # Offense count: 9
131
129
# This cop supports safe autocorrection (--autocorrect).
132
130
# Configuration parameters: AllowInHeredoc.
133
131
Layout/TrailingWhitespace :
134
132
Exclude :
135
133
- ' lib/inertia_rails/rspec.rb'
136
- - ' spec/dummy/app/controllers/inertia_render_test_controller.rb'
137
134
- ' spec/dummy/config/environments/test.rb'
138
135
139
136
# Offense count: 1
@@ -164,14 +161,6 @@ Lint/SymbolConversion:
164
161
Exclude :
165
162
- ' spec/inertia/rails_mimic_spec.rb'
166
163
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
164
# Offense count: 1
176
165
Naming/AccessorMethodName :
177
166
Exclude :
@@ -190,7 +179,7 @@ Naming/FileName:
190
179
# Offense count: 2
191
180
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
192
181
# SupportedStyles: snake_case, normalcase, non_integer
193
- # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
182
+ # AllowedIdentifiers: TLS1_1, TLS1_2, capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
194
183
Naming/VariableNumber :
195
184
Exclude :
196
185
- ' spec/dummy/app/controllers/inertia_test_controller.rb'
@@ -214,8 +203,10 @@ Style/BlockDelimiters:
214
203
215
204
# Offense count: 1
216
205
# This cop supports unsafe autocorrection (--autocorrect-all).
217
- # Configuration parameters: EnforcedStyle.
206
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForClasses, EnforcedStyleForModules .
218
207
# SupportedStyles: nested, compact
208
+ # SupportedStylesForClasses: , nested, compact
209
+ # SupportedStylesForModules: , nested, compact
219
210
Style/ClassAndModuleChildren :
220
211
Exclude :
221
212
- ' lib/inertia_rails/helper.rb'
@@ -255,7 +246,7 @@ Style/ExpandPathArguments:
255
246
Exclude :
256
247
- ' spec/rails_helper.rb'
257
248
258
- # Offense count: 69
249
+ # Offense count: 67
259
250
# This cop supports unsafe autocorrection (--autocorrect-all).
260
251
# Configuration parameters: EnforcedStyle.
261
252
# SupportedStyles: always, always_true, never
@@ -267,7 +258,6 @@ Style/FrozenStringLiteralComment:
267
258
- ' lib/inertia_rails/controller.rb'
268
259
- ' lib/inertia_rails/engine.rb'
269
260
- ' lib/inertia_rails/helper.rb'
270
- - ' lib/inertia_rails/inertia_rails.rb'
271
261
- ' lib/inertia_rails/rspec.rb'
272
262
- ' lib/inertia_rails/version.rb'
273
263
- ' lib/patches/better_errors.rb'
@@ -287,7 +277,6 @@ Style/FrozenStringLiteralComment:
287
277
- ' spec/dummy/app/controllers/inertia_merge_shared_controller.rb'
288
278
- ' spec/dummy/app/controllers/inertia_multithreaded_share_controller.rb'
289
279
- ' spec/dummy/app/controllers/inertia_rails_mimic_controller.rb'
290
- - ' spec/dummy/app/controllers/inertia_render_test_controller.rb'
291
280
- ' spec/dummy/app/controllers/inertia_responders_test_controller.rb'
292
281
- ' spec/dummy/app/controllers/inertia_session_continuity_test_controller.rb'
293
282
- ' spec/dummy/app/controllers/inertia_share_test_controller.rb'
@@ -369,14 +358,13 @@ Style/IfUnlessModifierOfIfUnless:
369
358
Exclude :
370
359
- ' lib/inertia_rails/controller.rb'
371
360
372
- # Offense count: 3
361
+ # Offense count: 2
373
362
# This cop supports safe autocorrection (--autocorrect).
374
363
# Configuration parameters: EnforcedStyle.
375
364
# SupportedStyles: line_count_dependent, lambda, literal
376
365
Style/Lambda :
377
366
Exclude :
378
367
- ' spec/dummy/app/controllers/inertia_lambda_shared_props_controller.rb'
379
- - ' spec/dummy/app/controllers/inertia_render_test_controller.rb'
380
368
- ' spec/dummy/app/controllers/transformed_inertia_rails_mimic_controller.rb'
381
369
382
370
# Offense count: 1
@@ -446,7 +434,7 @@ Style/SoleNestedConditional:
446
434
Exclude :
447
435
- ' lib/inertia_rails/controller.rb'
448
436
449
- # Offense count: 78
437
+ # Offense count: 80
450
438
# This cop supports safe autocorrection (--autocorrect).
451
439
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
452
440
# SupportedStyles: single_quotes, double_quotes
@@ -495,7 +483,7 @@ Style/TrailingCommaInArguments:
495
483
- ' spec/dummy/app/controllers/inertia_config_test_controller.rb'
496
484
- ' spec/dummy/app/controllers/inertia_rails_mimic_controller.rb'
497
485
498
- # Offense count: 22
486
+ # Offense count: 12
499
487
# This cop supports safe autocorrection (--autocorrect).
500
488
# Configuration parameters: EnforcedStyleForMultiline.
501
489
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
@@ -505,21 +493,20 @@ Style/TrailingCommaInHashLiteral:
505
493
- ' spec/dummy/app/controllers/inertia_lambda_shared_props_controller.rb'
506
494
- ' spec/dummy/app/controllers/inertia_merge_instance_props_controller.rb'
507
495
- ' spec/dummy/app/controllers/inertia_merge_shared_controller.rb'
508
- - ' spec/dummy/app/controllers/inertia_render_test_controller.rb'
509
496
- ' spec/dummy/config/environments/development.rb'
510
497
- ' spec/dummy/config/environments/test.rb'
511
498
- ' spec/inertia/response_spec.rb'
512
499
- ' spec/inertia/rspec_helper_spec.rb'
513
500
514
501
# Offense count: 1
515
502
# This cop supports safe autocorrection (--autocorrect).
516
- # Configuration parameters: EnforcedStyle, MinSize, WordRegex.
503
+ # Configuration parameters: WordRegex.
517
504
# SupportedStyles: percent, brackets
518
505
Style/WordArray :
519
- Exclude :
520
- - ' lib/inertia_rails/middleware.rb '
506
+ EnforcedStyle : percent
507
+ MinSize : 4
521
508
522
- # Offense count: 17
509
+ # Offense count: 19
523
510
# This cop supports safe autocorrection (--autocorrect).
524
511
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
525
512
# URISchemes: http, https
0 commit comments