1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config --exclude-limit 10000`
3
- # on 2025-03-01 10:06:34 UTC using RuboCop version 1.73.1 .
3
+ # on 2025-03-04 09:53:10 UTC using RuboCop version 1.73.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
@@ -15,20 +15,6 @@ Layout/ArgumentAlignment:
15
15
- ' bin/console'
16
16
- ' spec/inertia/response_spec.rb'
17
17
18
- # Offense count: 9
19
- # This cop supports safe autocorrection (--autocorrect).
20
- Layout/BlockEndNewline :
21
- Exclude :
22
- - ' spec/inertia/rendering_spec.rb'
23
-
24
- # Offense count: 2
25
- # This cop supports safe autocorrection (--autocorrect).
26
- # Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
27
- # SupportedStyles: case, end
28
- Layout/CaseIndentation :
29
- Exclude :
30
- - ' lib/inertia_rails/renderer.rb'
31
-
32
18
# Offense count: 1
33
19
# This cop supports safe autocorrection (--autocorrect).
34
20
Layout/EmptyLineAfterGuardClause :
@@ -49,14 +35,6 @@ Layout/EmptyLinesAroundBlockBody:
49
35
Exclude :
50
36
- ' spec/inertia/rails_mimic_spec.rb'
51
37
52
- # Offense count: 1
53
- # This cop supports safe autocorrection (--autocorrect).
54
- # Configuration parameters: EnforcedStyleAlignWith, Severity.
55
- # SupportedStylesAlignWith: keyword, variable, start_of_line
56
- Layout/EndAlignment :
57
- Exclude :
58
- - ' lib/inertia_rails/renderer.rb'
59
-
60
38
# Offense count: 3
61
39
# This cop supports safe autocorrection (--autocorrect).
62
40
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
@@ -76,16 +54,11 @@ Layout/FirstArgumentIndentation:
76
54
77
55
# Offense count: 2
78
56
# This cop supports safe autocorrection (--autocorrect).
79
- # Configuration parameters: IndentationWidth.
57
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
80
58
# SupportedStyles: special_inside_parentheses, consistent, align_braces
81
59
Layout/FirstHashElementIndentation :
82
- EnforcedStyle : consistent
83
-
84
- # Offense count: 9
85
- # This cop supports safe autocorrection (--autocorrect).
86
- Layout/MultilineBlockLayout :
87
60
Exclude :
88
- - ' spec/inertia/rendering_spec .rb'
61
+ - ' spec/inertia/rspec_helper_spec .rb'
89
62
90
63
# Offense count: 4
91
64
# This cop supports safe autocorrection (--autocorrect).
@@ -116,18 +89,17 @@ Layout/SpaceInsideArrayLiteralBrackets:
116
89
- ' spec/dummy/app/controllers/inertia_test_controller.rb'
117
90
- ' spec/dummy/config/environments/production.rb'
118
91
119
- # Offense count: 13
92
+ # Offense count: 5
120
93
# This cop supports safe autocorrection (--autocorrect).
121
94
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
122
95
# SupportedStyles: space, no_space
123
96
# SupportedStylesForEmptyBraces: space, no_space
124
97
Layout/SpaceInsideBlockBraces :
125
98
Exclude :
126
99
- ' spec/inertia/error_sharing_spec.rb'
127
- - ' spec/inertia/rendering_spec.rb'
128
100
- ' spec/inertia/request_spec.rb'
129
101
130
- # Offense count: 122
102
+ # Offense count: 106
131
103
# This cop supports safe autocorrection (--autocorrect).
132
104
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
133
105
# SupportedStyles: space, no_space, compact
@@ -141,7 +113,6 @@ Layout/SpaceInsideHashLiteralBraces:
141
113
- ' spec/inertia/conditional_sharing_spec.rb'
142
114
- ' spec/inertia/middleware_spec.rb'
143
115
- ' spec/inertia/rails_mimic_spec.rb'
144
- - ' spec/inertia/rendering_spec.rb'
145
116
- ' spec/inertia/request_spec.rb'
146
117
- ' spec/inertia/rspec_helper_spec.rb'
147
118
- ' spec/inertia/sharing_spec.rb'
@@ -193,12 +164,6 @@ Lint/SymbolConversion:
193
164
Exclude :
194
165
- ' spec/inertia/rails_mimic_spec.rb'
195
166
196
- # Offense count: 1
197
- # Configuration parameters: AllowKeywordBlockArguments.
198
- Lint/UnderscorePrefixedVariableName :
199
- Exclude :
200
- - ' lib/inertia_rails/renderer.rb'
201
-
202
167
# Offense count: 1
203
168
# This cop supports safe autocorrection (--autocorrect).
204
169
# Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
@@ -230,7 +195,7 @@ Naming/VariableNumber:
230
195
Exclude :
231
196
- ' spec/dummy/app/controllers/inertia_test_controller.rb'
232
197
233
- # Offense count: 25
198
+ # Offense count: 10
234
199
# This cop supports safe autocorrection (--autocorrect).
235
200
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
236
201
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
@@ -242,7 +207,7 @@ Style/BlockDelimiters:
242
207
- ' lib/inertia_rails/controller.rb'
243
208
- ' spec/inertia/action_filter_spec.rb'
244
209
- ' spec/inertia/conditional_sharing_spec.rb'
245
- - ' spec/inertia/rendering_spec .rb'
210
+ - ' spec/inertia/rails_mimic_spec .rb'
246
211
- ' spec/inertia/request_spec.rb'
247
212
- ' spec/inertia/rspec_helper_spec.rb'
248
213
- ' spec/inertia/sharing_spec.rb'
@@ -255,26 +220,11 @@ Style/ClassAndModuleChildren:
255
220
Exclude :
256
221
- ' lib/inertia_rails/helper.rb'
257
222
258
- # Offense count: 2
223
+ # Offense count: 1
259
224
# This cop supports safe autocorrection (--autocorrect).
260
225
Style/ColonMethodCall :
261
226
Exclude :
262
227
- ' spec/inertia/error_sharing_spec.rb'
263
- - ' spec/inertia/rendering_spec.rb'
264
-
265
- # Offense count: 1
266
- # This cop supports safe autocorrection (--autocorrect).
267
- # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
268
- # SupportedStyles: assign_to_condition, assign_inside_condition
269
- Style/ConditionalAssignment :
270
- Exclude :
271
- - ' lib/inertia_rails/renderer.rb'
272
-
273
- # Offense count: 1
274
- # This cop supports safe autocorrection (--autocorrect).
275
- Style/EachWithObject :
276
- Exclude :
277
- - ' lib/inertia_rails/renderer.rb'
278
228
279
229
# Offense count: 1
280
230
# This cop supports safe autocorrection (--autocorrect).
@@ -305,7 +255,7 @@ Style/ExpandPathArguments:
305
255
Exclude :
306
256
- ' spec/rails_helper.rb'
307
257
308
- # Offense count: 71
258
+ # Offense count: 69
309
259
# This cop supports unsafe autocorrection (--autocorrect-all).
310
260
# Configuration parameters: EnforcedStyle.
311
261
# SupportedStyles: always, always_true, never
@@ -314,7 +264,6 @@ Style/FrozenStringLiteralComment:
314
264
- ' **/*.arb'
315
265
- ' app/controllers/inertia_rails/static_controller.rb'
316
266
- ' bin/console'
317
- - ' lib/inertia_rails.rb'
318
267
- ' lib/inertia_rails/controller.rb'
319
268
- ' lib/inertia_rails/engine.rb'
320
269
- ' lib/inertia_rails/helper.rb'
@@ -374,7 +323,6 @@ Style/FrozenStringLiteralComment:
374
323
- ' spec/inertia/lazy_prop_spec.rb'
375
324
- ' spec/inertia/middleware_spec.rb'
376
325
- ' spec/inertia/rails_mimic_spec.rb'
377
- - ' spec/inertia/rendering_spec.rb'
378
326
- ' spec/inertia/request_spec.rb'
379
327
- ' spec/inertia/response_spec.rb'
380
328
- ' spec/inertia/rspec_helper_spec.rb'
@@ -445,12 +393,6 @@ Style/MutableConstant:
445
393
Exclude :
446
394
- ' lib/inertia_rails/version.rb'
447
395
448
- # Offense count: 2
449
- # This cop supports safe autocorrection (--autocorrect).
450
- Style/NegatedIfElseCondition :
451
- Exclude :
452
- - ' lib/inertia_rails/renderer.rb'
453
-
454
396
# Offense count: 2
455
397
# This cop supports safe autocorrection (--autocorrect).
456
398
Style/NestedModifier :
@@ -490,12 +432,6 @@ Style/RedundantReturn:
490
432
Exclude :
491
433
- ' spec/dummy/app/controllers/inertia_session_continuity_test_controller.rb'
492
434
493
- # Offense count: 1
494
- # This cop supports safe autocorrection (--autocorrect).
495
- Style/RescueModifier :
496
- Exclude :
497
- - ' lib/inertia_rails/renderer.rb'
498
-
499
435
# Offense count: 1
500
436
# This cop supports safe autocorrection (--autocorrect).
501
437
# Configuration parameters: AllowIfMethodIsEmpty.
@@ -510,7 +446,7 @@ Style/SoleNestedConditional:
510
446
Exclude :
511
447
- ' lib/inertia_rails/controller.rb'
512
448
513
- # Offense count: 82
449
+ # Offense count: 78
514
450
# This cop supports safe autocorrection (--autocorrect).
515
451
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
516
452
# SupportedStyles: single_quotes, double_quotes
@@ -521,7 +457,6 @@ Style/StringLiterals:
521
457
- ' lib/inertia_rails/engine.rb'
522
458
- ' lib/inertia_rails/helper.rb'
523
459
- ' lib/inertia_rails/middleware.rb'
524
- - ' lib/inertia_rails/renderer.rb'
525
460
- ' lib/inertia_rails/rspec.rb'
526
461
- ' lib/inertia_rails/version.rb'
527
462
- ' lib/patches/better_errors.rb'
@@ -543,14 +478,6 @@ Style/StringLiterals:
543
478
- ' spec/rails_helper.rb'
544
479
- ' spec/spec_helper.rb'
545
480
546
- # Offense count: 1
547
- # This cop supports safe autocorrection (--autocorrect).
548
- # Configuration parameters: EnforcedStyle.
549
- # SupportedStyles: single_quotes, double_quotes
550
- Style/StringLiteralsInInterpolation :
551
- Exclude :
552
- - ' lib/inertia_rails/renderer.rb'
553
-
554
481
# Offense count: 2
555
482
# This cop supports safe autocorrection (--autocorrect).
556
483
# Configuration parameters: .
@@ -559,16 +486,14 @@ Style/SymbolArray:
559
486
EnforcedStyle : percent
560
487
MinSize : 3
561
488
562
- # Offense count: 14
489
+ # Offense count: 3
563
490
# This cop supports safe autocorrection (--autocorrect).
564
491
# Configuration parameters: EnforcedStyleForMultiline.
565
492
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
566
493
Style/TrailingCommaInArguments :
567
494
Exclude :
568
- - ' lib/inertia_rails.rb'
569
495
- ' spec/dummy/app/controllers/inertia_config_test_controller.rb'
570
496
- ' spec/dummy/app/controllers/inertia_rails_mimic_controller.rb'
571
- - ' spec/inertia/rendering_spec.rb'
572
497
573
498
# Offense count: 22
574
499
# This cop supports safe autocorrection (--autocorrect).
@@ -586,16 +511,15 @@ Style/TrailingCommaInHashLiteral:
586
511
- ' spec/inertia/response_spec.rb'
587
512
- ' spec/inertia/rspec_helper_spec.rb'
588
513
589
- # Offense count: 2
514
+ # Offense count: 1
590
515
# This cop supports safe autocorrection (--autocorrect).
591
516
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
592
517
# SupportedStyles: percent, brackets
593
518
Style/WordArray :
594
519
Exclude :
595
520
- ' lib/inertia_rails/middleware.rb'
596
- - ' spec/inertia/rendering_spec.rb'
597
521
598
- # Offense count: 26
522
+ # Offense count: 17
599
523
# This cop supports safe autocorrection (--autocorrect).
600
524
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
601
525
# URISchemes: http, https
0 commit comments