talkable-style 1.2021.1220 → 1.2022.0501

Sign up to get free protection for your applications and to get access to all the features.
data/default.yml CHANGED
@@ -1,9 +1,3 @@
1
- require:
2
- - rubocop-performance
3
- - rubocop-rails
4
- - rubocop-rake
5
- - rubocop-rspec
6
-
7
1
  AllCops:
8
2
  Exclude:
9
3
  - node_modules/**/*
@@ -11,1137 +5,25 @@ AllCops:
11
5
  - tmp/**/*
12
6
  DisplayCopNames: false
13
7
  DisabledByDefault: true
14
- TargetRubyVersion: 3.0
15
- TargetRailsVersion: 6.1
16
- RSpec:
17
- Language:
18
- Includes:
19
- Examples:
20
- - it_has_behavior
21
-
22
- Bundler/DuplicatedGem:
23
- Enabled: true
24
- Bundler/InsecureProtocolSource:
25
- Enabled: true
26
-
27
- Layout/AccessModifierIndentation:
28
- Enabled: true
29
- Layout/ArrayAlignment:
30
- Enabled: true
31
- Layout/AssignmentIndentation:
32
- Enabled: true
33
- Layout/BeginEndAlignment:
34
- Enabled: true
35
- Layout/BlockAlignment:
36
- Enabled: true
37
- Layout/BlockEndNewline:
38
- Enabled: true
39
- Layout/ClosingHeredocIndentation:
40
- Enabled: true
41
- Layout/CommentIndentation:
42
- Enabled: true
43
- Layout/ConditionPosition:
44
- Enabled: true
45
- Layout/DefEndAlignment:
46
- Enabled: true
47
- Layout/EmptyComment:
48
- Enabled: true
49
- Layout/EmptyLineBetweenDefs:
50
- Enabled: true
51
- Layout/EmptyLines:
52
- Enabled: true
53
- Layout/EmptyLinesAroundAccessModifier:
54
- Enabled: true
55
- Layout/EmptyLinesAroundBeginBody:
56
- Enabled: true
57
- Layout/EmptyLinesAroundBlockBody:
58
- Enabled: true
59
- Layout/EmptyLinesAroundClassBody:
60
- Enabled: true
61
- Layout/EmptyLinesAroundExceptionHandlingKeywords:
62
- Enabled: true
63
- Layout/EmptyLinesAroundMethodBody:
64
- Enabled: true
65
- Layout/EmptyLinesAroundModuleBody:
66
- Enabled: true
67
- Layout/EndOfLine:
68
- Enabled: true
69
- Layout/ExtraSpacing:
70
- Enabled: true
71
- Layout/FirstArrayElementIndentation:
72
- Enabled: true
73
- EnforcedStyle: consistent
74
- Layout/FirstHashElementIndentation:
75
- Enabled: true
76
- EnforcedStyle: consistent
77
- Layout/HeredocIndentation:
78
- Enabled: true
79
- Layout/IndentationConsistency:
80
- Enabled: true
81
- Layout/IndentationStyle:
82
- Enabled: true
83
- Layout/InitialIndentation:
84
- Enabled: true
85
- Layout/LeadingCommentSpace:
86
- Enabled: true
87
- Layout/LeadingEmptyLines:
88
- Enabled: true
89
- Layout/MultilineAssignmentLayout:
90
- Enabled: true
91
- EnforcedStyle: same_line
92
- Layout/MultilineBlockLayout:
93
- Enabled: true
94
- Exclude:
95
- - spec/**/*
96
- Layout/MultilineMethodCallIndentation:
97
- Enabled: true
98
- EnforcedStyle: indented
99
- Exclude:
100
- - spec/**/*
101
- Layout/MultilineMethodDefinitionBraceLayout:
102
- Enabled: true
103
- Layout/MultilineOperationIndentation:
104
- Enabled: true
105
- Layout/RescueEnsureAlignment:
106
- Enabled: true
107
- Layout/SpaceAfterColon:
108
- Enabled: true
109
- Layout/SpaceAfterComma:
110
- Enabled: true
111
- Layout/SpaceAfterMethodName:
112
- Enabled: true
113
- Layout/SpaceAfterNot:
114
- Enabled: true
115
- Layout/SpaceAfterSemicolon:
116
- Enabled: true
117
- Layout/SpaceAroundBlockParameters:
118
- Enabled: true
119
- Layout/SpaceAroundEqualsInParameterDefault:
120
- Enabled: true
121
- Layout/SpaceAroundKeyword:
122
- Enabled: true
123
- Layout/SpaceAroundMethodCallOperator:
124
- Enabled: true
125
- Layout/SpaceAroundOperators:
126
- Enabled: true
127
- Layout/SpaceBeforeBrackets:
128
- Enabled: true
129
- Layout/SpaceBeforeComma:
130
- Enabled: true
131
- Layout/SpaceBeforeComment:
132
- Enabled: true
133
- Layout/SpaceBeforeFirstArg:
134
- Enabled: true
135
- Layout/SpaceBeforeSemicolon:
136
- Enabled: true
137
- Layout/SpaceInLambdaLiteral:
138
- Enabled: true
139
- Layout/SpaceInsideArrayPercentLiteral:
140
- Enabled: true
141
- Layout/SpaceInsideParens:
142
- Enabled: true
143
- Layout/SpaceInsidePercentLiteralDelimiters:
144
- Enabled: true
145
- Layout/SpaceInsideRangeLiteral:
146
- Enabled: true
147
- Layout/TrailingEmptyLines:
148
- Enabled: true
149
- Layout/TrailingWhitespace:
150
- Enabled: true
151
-
152
- Lint/AmbiguousAssignment:
153
- Enabled: true
154
- Lint/AmbiguousOperator:
155
- Enabled: true
156
- Lint/AmbiguousOperatorPrecedence:
157
- Enabled: true
158
- Lint/AmbiguousRange:
159
- Enabled: true
160
- Lint/AmbiguousRegexpLiteral:
161
- Enabled: true
162
- Lint/BigDecimalNew:
163
- Enabled: true
164
- Lint/BinaryOperatorWithIdenticalOperands:
165
- Enabled: true
166
- Lint/BooleanSymbol:
167
- Enabled: true
168
- Lint/CircularArgumentReference:
169
- Enabled: true
170
- Lint/ConstantDefinitionInBlock:
171
- Enabled: true
172
- Lint/Debugger:
173
- Enabled: true
174
- Lint/DeprecatedClassMethods:
175
- Enabled: true
176
- Lint/DeprecatedConstants:
177
- Enabled: true
178
- Lint/DeprecatedOpenSSLConstant:
179
- Enabled: true
180
- Lint/DisjunctiveAssignmentInConstructor:
181
- Enabled: true
182
- Lint/DuplicateBranch:
183
- Enabled: true
184
- Lint/DuplicateCaseCondition:
185
- Enabled: true
186
- Lint/DuplicateElsifCondition:
187
- Enabled: true
188
- Lint/DuplicateHashKey:
189
- Enabled: true
190
- Lint/DuplicateMethods:
191
- Enabled: true
192
- Lint/DuplicateRegexpCharacterClassElement:
193
- Enabled: true
194
- Lint/DuplicateRequire:
195
- Enabled: true
196
- Lint/DuplicateRescueException:
197
- Enabled: true
198
- Lint/EachWithObjectArgument:
199
- Enabled: true
200
- Lint/ElseLayout:
201
- Enabled: true
202
- Lint/EmptyBlock:
203
- Enabled: true
204
- Lint/EmptyClass:
205
- Enabled: true
206
- Lint/EmptyConditionalBody:
207
- Enabled: true
208
- Lint/EmptyEnsure:
209
- Enabled: true
210
- Lint/EmptyExpression:
211
- Enabled: true
212
- Lint/EmptyFile:
213
- Enabled: true
214
- Lint/EmptyInPattern:
215
- Enabled: true
216
- Lint/EmptyInterpolation:
217
- Enabled: true
218
- Lint/EmptyWhen:
219
- Enabled: true
220
- Lint/EnsureReturn:
221
- Enabled: true
222
- Lint/FlipFlop:
223
- Enabled: true
224
- Lint/FloatComparison:
225
- Enabled: true
226
- Lint/FloatOutOfRange:
227
- Enabled: true
228
- Lint/FormatParameterMismatch:
229
- Enabled: true
230
- Lint/HashCompareByIdentity:
231
- Enabled: true
232
- Lint/HeredocMethodCallPosition:
233
- Enabled: true
234
- Lint/IdentityComparison:
235
- Enabled: true
236
- Lint/ImplicitStringConcatenation:
237
- Enabled: true
238
- Lint/IncompatibleIoSelectWithFiberScheduler:
239
- Enabled: true
240
- Lint/IneffectiveAccessModifier:
241
- Enabled: true
242
- Lint/InheritException:
243
- Enabled: true
244
- EnforcedStyle: standard_error
245
- Lint/LiteralAsCondition:
246
- Enabled: true
247
- Lint/LiteralInInterpolation:
248
- Enabled: true
249
- Lint/Loop:
250
- Enabled: true
251
- Lint/MissingCopEnableDirective:
252
- Enabled: true
253
- Lint/MissingSuper:
254
- Enabled: true
255
- Lint/MixedRegexpCaptureTypes:
256
- Enabled: true
257
- Lint/MultipleComparison:
258
- Enabled: true
259
- Lint/NestedMethodDefinition:
260
- Enabled: true
261
- Lint/NextWithoutAccumulator:
262
- Enabled: true
263
- Lint/NonDeterministicRequireOrder:
264
- Enabled: true
265
- Lint/NonLocalExitFromIterator:
266
- Enabled: true
267
- Lint/NumberedParameterAssignment:
268
- Enabled: true
269
- Lint/OrAssignmentToConstant:
270
- Enabled: true
271
- Lint/OutOfRangeRegexpRef:
272
- Enabled: true
273
- Lint/ParenthesesAsGroupedExpression:
274
- Enabled: true
275
- Lint/PercentStringArray:
276
- Enabled: true
277
- Lint/PercentSymbolArray:
278
- Enabled: true
279
- Lint/RaiseException:
280
- Enabled: true
281
- Lint/RandOne:
282
- Enabled: true
283
- Lint/RedundantCopDisableDirective:
284
- Enabled: true
285
- Lint/RedundantCopEnableDirective:
286
- Enabled: true
287
- Lint/RedundantDirGlobSort:
288
- Enabled: true
289
- Lint/RedundantRequireStatement:
290
- Enabled: true
291
- Lint/RedundantSafeNavigation:
292
- Enabled: true
293
- Lint/RedundantSplatExpansion:
294
- Enabled: true
295
- Lint/RedundantStringCoercion:
296
- Enabled: true
297
- Lint/RedundantWithIndex:
298
- Enabled: true
299
- Lint/RedundantWithObject:
300
- Enabled: true
301
- Lint/RegexpAsCondition:
302
- Enabled: true
303
- Lint/RequireParentheses:
304
- Enabled: true
305
- Lint/RequireRelativeSelfPath:
306
- Enabled: true
307
- Lint/RescueException:
308
- Enabled: true
309
- Lint/RescueType:
310
- Enabled: true
311
- Lint/ReturnInVoidContext:
312
- Enabled: true
313
- Lint/SafeNavigationChain:
314
- Enabled: true
315
- AllowedMethods:
316
- - present?
317
- - blank?
318
- - presence
319
- - try
320
- - try!
321
- - to_bool
322
- - to_liquid
323
- - in?
324
- Lint/SafeNavigationWithEmpty:
325
- Enabled: true
326
- Lint/ScriptPermission:
327
- Enabled: true
328
- Lint/SelfAssignment:
329
- Enabled: true
330
- Lint/SendWithMixinArgument:
331
- Enabled: true
332
- Lint/ShadowedException:
333
- Enabled: true
334
- Lint/StructNewOverride:
335
- Enabled: true
336
- Lint/SymbolConversion:
337
- Enabled: true
338
- Lint/ToEnumArguments:
339
- Enabled: true
340
- Lint/ToJSON:
341
- Enabled: true
342
- Lint/TopLevelReturnWithArgument:
343
- Enabled: true
344
- Lint/TrailingCommaInAttributeDeclaration:
345
- Enabled: true
346
- Lint/TripleQuotes:
347
- Enabled: true
348
- Lint/UnexpectedBlockArity:
349
- Enabled: true
350
- Lint/UnifiedInteger:
351
- Enabled: true
352
- Lint/UnmodifiedReduceAccumulator:
353
- Enabled: true
354
- Lint/UnreachableCode:
355
- Enabled: true
356
- Lint/UnreachableLoop:
357
- Enabled: true
358
- Lint/UnusedBlockArgument:
359
- Enabled: true
360
- Lint/UnusedMethodArgument:
361
- Enabled: true
362
- Lint/UriEscapeUnescape:
363
- Enabled: true
364
- Lint/UriRegexp:
365
- Enabled: true
366
- Lint/UselessAccessModifier:
367
- Enabled: true
368
- Lint/UselessAssignment:
369
- Enabled: true
370
- Lint/UselessElseWithoutRescue:
371
- Enabled: true
372
- Lint/UselessMethodDefinition:
373
- Enabled: true
374
- Lint/UselessRuby2Keywords:
375
- Enabled: true
376
- Lint/UselessSetterCall:
377
- Enabled: true
378
- Lint/UselessTimes:
379
- Enabled: true
380
- Lint/Void:
381
- Enabled: true
382
-
383
- Metrics/BlockNesting:
384
- Enabled: true
385
-
386
- Naming/AsciiIdentifiers:
387
- Enabled: true
388
- Naming/ClassAndModuleCamelCase:
389
- Enabled: true
390
- Naming/ConstantName:
391
- Enabled: true
392
- Naming/FileName:
393
- Enabled: true
394
- Naming/InclusiveLanguage:
395
- Enabled: true
396
- Naming/MemoizedInstanceVariableName:
397
- Enabled: true
398
- Naming/MethodName:
399
- Enabled: true
400
- Naming/PredicateName:
401
- Enabled: true
402
- NamePrefix:
403
- - is_
404
- ForbiddenPrefixes:
405
- - is_
406
- Naming/RescuedExceptionsVariableName:
407
- Enabled: true
408
- Naming/VariableName:
409
- Enabled: true
410
-
411
- Performance/AncestorsInclude:
412
- Enabled: true
413
- Performance/BigDecimalWithNumericArgument:
414
- Enabled: true
415
- Performance/BindCall:
416
- Enabled: true
417
- Performance/BlockGivenWithExplicitBlock:
418
- Enabled: true
419
- Performance/Caller:
420
- Enabled: true
421
- Performance/CaseWhenSplat:
422
- Enabled: true
423
- Performance/Casecmp:
424
- Enabled: true
425
- Performance/CollectionLiteralInLoop:
426
- Enabled: true
427
- Performance/CompareWithBlock:
428
- Enabled: true
429
- Performance/ConstantRegexp:
430
- Enabled: true
431
- Performance/Count:
432
- Enabled: true
433
- Performance/DeletePrefix:
434
- Enabled: true
435
- Performance/DeleteSuffix:
436
- Enabled: true
437
- Performance/Detect:
438
- Enabled: true
439
- Performance/DoubleStartEndWith:
440
- Enabled: true
441
- Performance/EndWith:
442
- Enabled: true
443
- Performance/FixedSize:
444
- Enabled: true
445
- Performance/FlatMap:
446
- Enabled: true
447
- Performance/InefficientHashSearch:
448
- Enabled: true
449
- Performance/IoReadlines:
450
- Enabled: true
451
- Performance/MapCompact:
452
- Enabled: true
453
- Performance/RangeInclude:
454
- Enabled: true
455
- Performance/RedundantBlockCall:
456
- Enabled: true
457
- Performance/RedundantEqualityComparisonBlock:
458
- Enabled: true
459
- Performance/RedundantMatch:
460
- Enabled: true
461
- Performance/RedundantMerge:
462
- Enabled: true
463
- Performance/RedundantSortBlock:
464
- Enabled: true
465
- Performance/RedundantSplitRegexpArgument:
466
- Enabled: true
467
- Performance/RedundantStringChars:
468
- Enabled: true
469
- Performance/RegexpMatch:
470
- Enabled: true
471
- Performance/ReverseEach:
472
- Enabled: true
473
- Performance/ReverseFirst:
474
- Enabled: true
475
- Performance/Size:
476
- Enabled: true
477
- Performance/SortReverse:
478
- Enabled: true
479
- Performance/Squeeze:
480
- Enabled: true
481
- Performance/StartWith:
482
- Enabled: true
483
- Performance/StringInclude:
484
- Enabled: true
485
- Performance/StringReplacement:
486
- Enabled: true
487
- Performance/Sum:
488
- Enabled: true
489
- Performance/TimesMap:
490
- Enabled: true
491
- Performance/UnfreezeString:
492
- Enabled: true
493
- Performance/UriDefaultParser:
494
- Enabled: true
495
-
496
- Rails/ActionFilter:
497
- Enabled: true
498
- Rails/ActiveRecordAliases:
499
- Enabled: true
500
- Rails/ActiveRecordCallbacksOrder:
501
- Enabled: true
502
- Rails/ActiveRecordOverride:
503
- Enabled: true
504
- Rails/ActiveSupportAliases:
505
- Enabled: true
506
- Rails/AddColumnIndex:
507
- Enabled: true
508
- Rails/AfterCommitOverride:
509
- Enabled: true
510
- Rails/ApplicationController:
511
- Enabled: true
512
- Rails/ApplicationJob:
513
- Enabled: true
514
- Rails/ApplicationMailer:
515
- Enabled: true
516
- Rails/ApplicationRecord:
517
- Enabled: true
518
- Rails/ArelStar:
519
- Enabled: true
520
- Rails/AttributeDefaultBlockValue:
521
- Enabled: true
522
- Rails/BelongsTo:
523
- Enabled: true
524
- Rails/Blank:
525
- Enabled: true
526
- NilOrEmpty: false
527
- NotPresent: true
528
- UnlessPresent: true
529
- Rails/BulkChangeTable:
530
- Enabled: true
531
- Rails/CreateTableWithTimestamps:
532
- Enabled: true
533
- Rails/Date:
534
- Enabled: true
535
- Rails/DelegateAllowBlank:
536
- Enabled: true
537
- Rails/DynamicFindBy:
538
- Enabled: true
539
- Rails/EnumHash:
540
- Enabled: true
541
- Rails/EnumUniqueness:
542
- Enabled: true
543
- Rails/EnvironmentComparison:
544
- Enabled: true
545
- Rails/Exit:
546
- Enabled: true
547
- Rails/ExpandedDateRange:
548
- Enabled: true
549
- Rails/FindBy:
550
- Enabled: true
551
- Rails/FindById:
552
- Enabled: true
553
- Rails/FindEach:
554
- Enabled: true
555
- Rails/HasAndBelongsToMany:
556
- Enabled: true
557
- Rails/HelperInstanceVariable:
558
- Enabled: true
559
- Rails/HttpPositionalArguments:
560
- Enabled: true
561
- Rails/HttpStatus:
562
- Enabled: true
563
- Rails/IgnoredSkipActionFilterOption:
564
- Enabled: true
565
- Rails/IndexBy:
566
- Enabled: true
567
- Rails/IndexWith:
568
- Enabled: true
569
- Rails/InverseOf:
570
- Enabled: true
571
- Rails/LexicallyScopedActionFilter:
572
- Enabled: true
573
- Rails/LinkToBlank:
574
- Enabled: true
575
- Rails/MailerName:
576
- Enabled: true
577
- Rails/MatchRoute:
578
- Enabled: true
579
- Rails/NegateInclude:
580
- Enabled: true
581
- Rails/NotNullColumn:
582
- Enabled: true
583
- Rails/OrderById:
584
- Enabled: true
585
- Rails/PluckId:
586
- Enabled: true
587
- Rails/PluckInWhere:
588
- Enabled: true
589
- Rails/PluralizationGrammar:
590
- Enabled: true
591
- Rails/Presence:
592
- Enabled: true
593
- Rails/Present:
594
- Enabled: true
595
- NotNilAndNotEmpty: false
596
- NotBlank: true
597
- UnlessBlank: true
598
- Rails/RakeEnvironment:
599
- Enabled: true
600
- Rails/ReadWriteAttribute:
601
- Enabled: true
602
- Rails/RedundantAllowNil:
603
- Enabled: true
604
- Rails/RedundantReceiverInWithOptions:
605
- Enabled: true
606
- Rails/RedundantTravelBack:
607
- Enabled: true
608
- Rails/ReflectionClassName:
609
- Enabled: true
610
- Rails/RelativeDateConstant:
611
- Enabled: true
612
- Rails/RenderInline:
613
- Enabled: true
614
- Rails/RenderPlainText:
615
- Enabled: true
616
- Rails/RequestReferer:
617
- Enabled: true
618
- Rails/RequireDependency:
619
- Enabled: true
620
- Rails/ReversibleMigration:
621
- Enabled: true
622
- Include:
623
- - db/migrate/*.rb
624
- - db/sharded_migrate/*.rb
625
- Rails/ReversibleMigrationMethodDefinition:
626
- Enabled: true
627
- Include:
628
- - db/migrate/*.rb
629
- - db/sharded_migrate/*.rb
630
- Rails/SafeNavigation:
631
- Enabled: true
632
- Rails/SafeNavigationWithBlank:
633
- Enabled: true
634
- Rails/SaveBang:
635
- Enabled: true
636
- Exclude:
637
- - spec/**/*
638
- Rails/ScopeArgs:
639
- Enabled: true
640
- Rails/ShortI18n:
641
- Enabled: true
642
- Rails/SkipsModelValidations:
643
- Enabled: true
644
- Exclude:
645
- - db/**/*
646
- - spec/**/*
647
- Rails/SquishedSQLHeredocs:
648
- Enabled: true
649
- Rails/TimeZone:
650
- Enabled: true
651
- Rails/TimeZoneAssignment:
652
- Enabled: true
653
- Rails/UniqBeforePluck:
654
- Enabled: true
655
- Rails/UniqueValidationWithoutIndex:
656
- Enabled: true
657
- Rails/UnknownEnv:
658
- Enabled: true
659
- Environments:
660
- - development
661
- - production
662
- - staging
663
- - test
664
- Rails/UnusedIgnoredColumns:
665
- Enabled: true
666
- Rails/Validation:
667
- Enabled: true
668
- Rails/WhereEquals:
669
- Enabled: true
670
- Rails/WhereExists:
671
- Enabled: true
672
- Rails/WhereNot:
673
- Enabled: true
674
-
675
- Rake/ClassDefinitionInTask:
676
- Enabled: true
677
- Rake/Desc:
678
- Enabled: true
679
- Rake/DuplicateNamespace:
680
- Enabled: true
681
- Rake/DuplicateTask:
682
- Enabled: true
683
- Rake/MethodDefinitionInTask:
684
- Enabled: true
685
-
686
- RSpec/AroundBlock:
687
- Enabled: true
688
- RSpec/Be:
689
- Enabled: true
690
- RSpec/BeEql:
691
- Enabled: true
692
- RSpec/BeforeAfterAll:
693
- Enabled: true
694
- RSpec/Capybara/CurrentPathExpectation:
695
- Enabled: true
696
- RSpec/Capybara/FeatureMethods:
697
- Enabled: true
698
- RSpec/Capybara/VisibilityMatcher:
699
- Enabled: true
700
- RSpec/ContextMethod:
701
- Enabled: true
702
- RSpec/DescribeClass:
703
- Enabled: true
704
- Exclude:
705
- - spec/system/**/*
706
- - spec/tasks/**/*
707
- RSpec/DescribeMethod:
708
- Enabled: true
709
- RSpec/DescribeSymbol:
710
- Enabled: true
711
- RSpec/DescribedClass:
712
- Enabled: true
713
- RSpec/DescribedClassModuleWrapping:
714
- Enabled: true
715
- RSpec/EmptyExampleGroup:
716
- Enabled: true
717
- Exclude:
718
- - spec/requests/api_v2/**/*
719
- RSpec/EmptyHook:
720
- Enabled: true
721
- RSpec/EmptyLineAfterExample:
722
- Enabled: true
723
- RSpec/EmptyLineAfterExampleGroup:
724
- Enabled: true
725
- RSpec/ExampleWithoutDescription:
726
- Enabled: true
727
- RSpec/ExampleWording:
728
- Enabled: true
729
- RSpec/ExcessiveDocstringSpacing:
730
- Enabled: true
731
- RSpec/ExpectInHook:
732
- Enabled: true
733
- RSpec/ExpectOutput:
734
- Enabled: true
735
- RSpec/FactoryBot/AttributeDefinedStatically:
736
- Enabled: true
737
- RSpec/FactoryBot/CreateList:
738
- Enabled: true
739
- RSpec/FactoryBot/FactoryClassName:
740
- Enabled: true
741
- RSpec/FilePath:
742
- Enabled: true
743
- IgnoreMethods: true
744
- Exclude:
745
- - spec/requests/api_v2/**/*
746
- RSpec/Focus:
747
- Enabled: true
748
- RSpec/HooksBeforeExamples:
749
- Enabled: true
750
- RSpec/IdenticalEqualityAssertion:
751
- Enabled: true
752
- RSpec/InstanceSpy:
753
- Enabled: true
754
- RSpec/InstanceVariable:
755
- Enabled: true
756
- RSpec/ItBehavesLike:
757
- Enabled: true
758
- RSpec/IteratedExpectation:
759
- Enabled: true
760
- RSpec/LeakyConstantDeclaration:
761
- Enabled: true
762
- RSpec/LetBeforeExamples:
763
- Enabled: true
764
- RSpec/LetSetup:
765
- Enabled: true
766
- RSpec/MultipleDescribes:
767
- Enabled: true
768
- RSpec/MultipleSubjects:
769
- Enabled: true
770
- RSpec/OverwritingSetup:
771
- Enabled: true
772
- RSpec/Rails/AvoidSetupHook:
773
- Enabled: true
774
- RSpec/Rails/HttpStatus:
775
- Enabled: true
776
- RSpec/ReceiveCounts:
777
- Enabled: true
778
- RSpec/ReceiveNever:
779
- Enabled: true
780
- RSpec/RepeatedDescription:
781
- Enabled: true
782
- RSpec/RepeatedExample:
783
- Enabled: true
784
- RSpec/RepeatedExampleGroupBody:
785
- Enabled: true
786
- RSpec/RepeatedExampleGroupDescription:
787
- Enabled: true
788
- RSpec/ScatteredLet:
789
- Enabled: true
790
- RSpec/ScatteredSetup:
791
- Enabled: true
792
- RSpec/SharedContext:
793
- Enabled: true
794
- RSpec/SharedExamples:
795
- Enabled: true
796
- RSpec/SingleArgumentMessageChain:
797
- Enabled: true
798
- RSpec/StubbedMock:
799
- Enabled: true
800
- RSpec/SubjectDeclaration:
801
- Enabled: true
802
- RSpec/VariableDefinition:
803
- Enabled: true
804
- RSpec/VariableName:
805
- Enabled: true
806
- RSpec/VerifiedDoubles:
807
- Enabled: true
808
- RSpec/VoidExpect:
809
- Enabled: true
810
- RSpec/Yield:
811
- Enabled: true
812
-
813
- Security/Eval:
814
- Enabled: true
815
- Security/IoMethods:
816
- Enabled: true
817
- Security/JSONLoad:
818
- Enabled: true
819
- Security/MarshalLoad:
820
- Enabled: true
821
- Security/Open:
822
- Enabled: true
823
- Security/YAMLLoad:
824
- Enabled: true
825
-
826
- Style/AccessorGrouping:
827
- Enabled: true
828
- Style/Alias:
829
- Enabled: true
830
- EnforcedStyle: prefer_alias_method
831
- Style/AndOr:
832
- Enabled: true
833
- Style/ArgumentsForwarding:
834
- Enabled: true
835
- Style/ArrayCoercion:
836
- Enabled: true
837
- Style/ArrayJoin:
838
- Enabled: true
839
- Style/Attr:
840
- Enabled: true
841
- Style/AutoResourceCleanup:
842
- Enabled: true
843
- Style/BarePercentLiterals:
844
- Enabled: true
845
- Style/BeginBlock:
846
- Enabled: true
847
- Style/BisectedAttrAccessor:
848
- Enabled: true
849
- Style/BlockComments:
850
- Enabled: true
851
- Exclude:
852
- - support/**/*
853
- Style/BlockDelimiters:
854
- Enabled: true
855
- Exclude:
856
- - spec/**/*
857
- Style/CaseLikeIf:
858
- Enabled: true
859
- Style/CharacterLiteral:
860
- Enabled: true
861
- Style/ClassCheck:
862
- Enabled: true
863
- Style/ClassEqualityComparison:
864
- Enabled: true
865
- Style/ClassMethods:
866
- Enabled: true
867
- Style/CollectionCompact:
868
- Enabled: true
869
- Style/CollectionMethods:
870
- Enabled: true
871
- PreferredMethods:
872
- collect: 'map'
873
- collect!: 'map!'
874
- detect: 'find'
875
- find_all: 'select'
876
- Style/ColonMethodCall:
877
- Enabled: true
878
- Style/ColonMethodDefinition:
879
- Enabled: true
880
- Style/CombinableLoops:
881
- Enabled: true
882
- Style/CommentAnnotation:
883
- Enabled: true
884
- Style/ConditionalAssignment:
885
- Enabled: true
886
- Style/DateTime:
887
- Enabled: true
888
- Style/DefWithParentheses:
889
- Enabled: true
890
- Style/Dir:
891
- Enabled: true
892
- Style/DocumentDynamicEvalDefinition:
893
- Enabled: true
894
- Style/EachForSimpleLoop:
895
- Enabled: true
896
- Style/EachWithObject:
897
- Enabled: true
898
- Style/EmptyBlockParameter:
899
- Enabled: true
900
- Style/EmptyElse:
901
- Enabled: true
902
- Style/EmptyLambdaParameter:
903
- Enabled: true
904
- Style/EmptyLiteral:
905
- Enabled: true
906
- Style/EndBlock:
907
- Enabled: true
908
- Style/EndlessMethod:
909
- Enabled: true
910
- Style/EvalWithLocation:
911
- Enabled: true
912
- Style/EvenOdd:
913
- Enabled: true
914
- Style/ExpandPathArguments:
915
- Enabled: true
916
- Style/ExplicitBlockArgument:
917
- Enabled: true
918
- Style/ExponentialNotation:
919
- Enabled: true
920
- Style/FloatDivision:
921
- Enabled: true
922
- Style/For:
923
- Enabled: true
924
- Style/GlobalStdStream:
925
- Enabled: true
926
- Style/GlobalVars:
927
- Enabled: true
928
- Style/HashConversion:
929
- Enabled: true
930
- Style/HashEachMethods:
931
- Enabled: true
932
- Style/HashExcept:
933
- Enabled: true
934
- Style/HashLikeCase:
935
- Enabled: true
936
- Style/HashSyntax:
937
- Enabled: true
938
- Style/HashTransformKeys:
939
- Enabled: true
940
- Style/HashTransformValues:
941
- Enabled: true
942
- Style/IdenticalConditionalBranches:
943
- Enabled: true
944
- Style/IfInsideElse:
945
- Enabled: true
946
- Style/IfUnlessModifierOfIfUnless:
947
- Enabled: true
948
- Style/IfWithBooleanLiteralBranches:
949
- Enabled: true
950
- Style/IfWithSemicolon:
951
- Enabled: true
952
- Style/InfiniteLoop:
953
- Enabled: true
954
- Style/InverseMethods:
955
- Enabled: true
956
- Style/KeywordParametersOrder:
957
- Enabled: true
958
- Style/LambdaCall:
959
- Enabled: true
960
- Style/LineEndConcatenation:
961
- Enabled: true
962
- Style/MethodCallWithoutArgsParentheses:
963
- Enabled: true
964
- Style/MethodDefParentheses:
965
- Enabled: true
966
- Style/MinMax:
967
- Enabled: true
968
- Style/MissingRespondToMissing:
969
- Enabled: true
970
- Style/MixinGrouping:
971
- Enabled: true
972
- Style/MixinUsage:
973
- Enabled: true
974
- Style/ModuleFunction:
975
- Enabled: true
976
- Style/MultilineIfThen:
977
- Enabled: true
978
- Style/MultilineInPatternThen:
979
- Enabled: true
980
- Style/MultilineMemoization:
981
- Enabled: true
982
- Style/MultilineMethodSignature:
983
- Enabled: true
984
- Style/MultilineWhenThen:
985
- Enabled: true
986
- Style/MultipleComparison:
987
- Enabled: true
988
- Style/MutableConstant:
989
- Enabled: true
990
- Style/NegatedIf:
991
- Enabled: true
992
- Style/NegatedIfElseCondition:
993
- Enabled: true
994
- Style/NegatedUnless:
995
- Enabled: true
996
- Style/NegatedWhile:
997
- Enabled: true
998
- Style/NestedModifier:
999
- Enabled: true
1000
- Style/NestedTernaryOperator:
1001
- Enabled: true
1002
- Style/Next:
1003
- Enabled: true
1004
- Style/NilComparison:
1005
- Enabled: true
1006
- Style/NilLambda:
1007
- Enabled: true
1008
- Style/NonNilCheck:
1009
- Enabled: true
1010
- Style/Not:
1011
- Enabled: true
1012
- Style/NumberedParameters:
1013
- Enabled: true
1014
- Style/NumberedParametersLimit:
1015
- Enabled: true
1016
- Style/NumericLiteralPrefix:
1017
- Enabled: true
1018
- Style/NumericLiterals:
1019
- Enabled: true
1020
- Style/OneLineConditional:
1021
- Enabled: true
1022
- Style/OpenStructUse:
1023
- Enabled: true
1024
- Style/OptionalArguments:
1025
- Enabled: true
1026
- Style/OptionalBooleanParameter:
1027
- Enabled: true
1028
- Style/ParenthesesAroundCondition:
1029
- Enabled: true
1030
- Style/PercentQLiterals:
1031
- Enabled: true
1032
- Style/PerlBackrefs:
1033
- Enabled: true
1034
- Style/PreferredHashMethods:
1035
- Enabled: true
1036
- Style/Proc:
1037
- Enabled: true
1038
- Style/RaiseArgs:
1039
- Enabled: true
1040
- Style/RedundantArgument:
1041
- Enabled: true
1042
- Style/RedundantAssignment:
1043
- Enabled: true
1044
- Style/RedundantBegin:
1045
- Enabled: true
1046
- Style/RedundantCapitalW:
1047
- Enabled: true
1048
- Style/RedundantCondition:
1049
- Enabled: true
1050
- Style/RedundantConditional:
1051
- Enabled: true
1052
- Style/RedundantException:
1053
- Enabled: true
1054
- Style/RedundantFetchBlock:
1055
- Enabled: true
1056
- Style/RedundantFileExtensionInRequire:
1057
- Enabled: true
1058
- Style/RedundantFreeze:
1059
- Enabled: true
1060
- Style/RedundantInterpolation:
1061
- Enabled: true
1062
- Style/RedundantParentheses:
1063
- Enabled: true
1064
- Style/RedundantPercentQ:
1065
- Enabled: true
1066
- Style/RedundantRegexpCharacterClass:
1067
- Enabled: true
1068
- Style/RedundantRegexpEscape:
1069
- Enabled: true
1070
- Style/RedundantReturn:
1071
- Enabled: true
1072
- Style/RedundantSelf:
1073
- Enabled: true
1074
- Style/RedundantSelfAssignment:
1075
- Enabled: true
1076
- Style/RedundantSelfAssignmentBranch:
1077
- Enabled: true
1078
- Style/RedundantSort:
1079
- Enabled: true
1080
- Style/RedundantSortBy:
1081
- Enabled: true
1082
- Style/RescueStandardError:
1083
- Enabled: true
1084
- Style/ReturnNil:
1085
- Enabled: true
1086
- Style/SafeNavigation:
1087
- Enabled: true
1088
- Style/Sample:
1089
- Enabled: true
1090
- Style/SelectByRegexp:
1091
- Enabled: true
1092
- Style/SelfAssignment:
1093
- Enabled: true
1094
- Style/SignalException:
1095
- Enabled: true
1096
- Style/SingleArgumentDig:
1097
- Enabled: true
1098
- Style/SlicingWithRange:
1099
- Enabled: true
1100
- Style/SoleNestedConditional:
1101
- Enabled: true
1102
- Style/SpecialGlobalVars:
1103
- Enabled: true
1104
- Style/StabbyLambdaParentheses:
1105
- Enabled: true
1106
- Style/StaticClass:
1107
- Enabled: true
1108
- Style/StderrPuts:
1109
- Enabled: true
1110
- Style/StringChars:
1111
- Enabled: true
1112
- Style/StringConcatenation:
1113
- Enabled: true
1114
- Style/StringMethods:
1115
- Enabled: true
1116
- Style/Strip:
1117
- Enabled: true
1118
- Style/StructInheritance:
1119
- Enabled: true
1120
- Style/SwapValues:
1121
- Enabled: true
1122
- Style/SymbolLiteral:
1123
- Enabled: true
1124
- Style/SymbolProc:
1125
- Enabled: true
1126
- Style/TopLevelMethodDefinition:
1127
- Enabled: true
1128
- Style/TrailingBodyOnClass:
1129
- Enabled: true
1130
- Style/TrailingBodyOnModule:
1131
- Enabled: true
1132
- Style/TrailingCommaInBlockArgs:
1133
- Enabled: true
1134
- Style/TrivialAccessors:
1135
- Enabled: true
1136
- Style/UnlessElse:
1137
- Enabled: true
1138
- Style/UnpackFirst:
1139
- Enabled: true
1140
- Style/VariableInterpolation:
1141
- Enabled: true
1142
- Style/WhileUntilDo:
1143
- Enabled: true
1144
- Style/YodaCondition:
1145
- Enabled: true
1146
- Style/ZeroLengthPredicate:
1147
- Enabled: true
8
+ TargetRubyVersion: 3.1
9
+ TargetRailsVersion: 7.0
10
+
11
+ inherit_from:
12
+ - config/bundler.yml
13
+ - config/discourse.yml
14
+ - config/gitlab-security.yml
15
+ - config/graphql.yml
16
+ - config/layout.yml
17
+ - config/lint.yml
18
+ - config/metrics.yml
19
+ - config/naming.yml
20
+ - config/performance.yml
21
+ - config/rails.yml
22
+ - config/rake.yml
23
+ - config/rspec.yml
24
+ - config/security.yml
25
+ - config/style.yml
26
+
27
+ inherit_mode:
28
+ merge:
29
+ - Exclude