talkable-style 1.2021.1005 → 1.2022.0201

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/**/*
@@ -12,1128 +6,24 @@ AllCops:
12
6
  DisplayCopNames: false
13
7
  DisabledByDefault: true
14
8
  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/UselessSetterCall:
375
- Enabled: true
376
- Lint/UselessTimes:
377
- Enabled: true
378
- Lint/Void:
379
- Enabled: true
380
-
381
- Metrics/BlockNesting:
382
- Enabled: true
383
-
384
- Naming/AsciiIdentifiers:
385
- Enabled: true
386
- Naming/ClassAndModuleCamelCase:
387
- Enabled: true
388
- Naming/ConstantName:
389
- Enabled: true
390
- Naming/FileName:
391
- Enabled: true
392
- Naming/InclusiveLanguage:
393
- Enabled: true
394
- Naming/MemoizedInstanceVariableName:
395
- Enabled: true
396
- Naming/MethodName:
397
- Enabled: true
398
- Naming/PredicateName:
399
- Enabled: true
400
- NamePrefix:
401
- - is_
402
- ForbiddenPrefixes:
403
- - is_
404
- Naming/RescuedExceptionsVariableName:
405
- Enabled: true
406
- Naming/VariableName:
407
- Enabled: true
408
-
409
- Performance/AncestorsInclude:
410
- Enabled: true
411
- Performance/BigDecimalWithNumericArgument:
412
- Enabled: true
413
- Performance/BindCall:
414
- Enabled: true
415
- Performance/BlockGivenWithExplicitBlock:
416
- Enabled: true
417
- Performance/Caller:
418
- Enabled: true
419
- Performance/CaseWhenSplat:
420
- Enabled: true
421
- Performance/Casecmp:
422
- Enabled: true
423
- Performance/CollectionLiteralInLoop:
424
- Enabled: true
425
- Performance/CompareWithBlock:
426
- Enabled: true
427
- Performance/ConstantRegexp:
428
- Enabled: true
429
- Performance/Count:
430
- Enabled: true
431
- Performance/DeletePrefix:
432
- Enabled: true
433
- Performance/DeleteSuffix:
434
- Enabled: true
435
- Performance/Detect:
436
- Enabled: true
437
- Performance/DoubleStartEndWith:
438
- Enabled: true
439
- Performance/EndWith:
440
- Enabled: true
441
- Performance/FixedSize:
442
- Enabled: true
443
- Performance/FlatMap:
444
- Enabled: true
445
- Performance/InefficientHashSearch:
446
- Enabled: true
447
- Performance/IoReadlines:
448
- Enabled: true
449
- Performance/MapCompact:
450
- Enabled: true
451
- Performance/RangeInclude:
452
- Enabled: true
453
- Performance/RedundantBlockCall:
454
- Enabled: true
455
- Performance/RedundantEqualityComparisonBlock:
456
- Enabled: true
457
- Performance/RedundantMatch:
458
- Enabled: true
459
- Performance/RedundantMerge:
460
- Enabled: true
461
- Performance/RedundantSortBlock:
462
- Enabled: true
463
- Performance/RedundantSplitRegexpArgument:
464
- Enabled: true
465
- Performance/RedundantStringChars:
466
- Enabled: true
467
- Performance/RegexpMatch:
468
- Enabled: true
469
- Performance/ReverseEach:
470
- Enabled: true
471
- Performance/ReverseFirst:
472
- Enabled: true
473
- Performance/Size:
474
- Enabled: true
475
- Performance/SortReverse:
476
- Enabled: true
477
- Performance/Squeeze:
478
- Enabled: true
479
- Performance/StartWith:
480
- Enabled: true
481
- Performance/StringInclude:
482
- Enabled: true
483
- Performance/StringReplacement:
484
- Enabled: true
485
- Performance/Sum:
486
- Enabled: true
487
- Performance/TimesMap:
488
- Enabled: true
489
- Performance/UnfreezeString:
490
- Enabled: true
491
- Performance/UriDefaultParser:
492
- Enabled: true
493
-
494
- Rails/ActionFilter:
495
- Enabled: true
496
- Rails/ActiveRecordAliases:
497
- Enabled: true
498
- Rails/ActiveRecordCallbacksOrder:
499
- Enabled: true
500
- Rails/ActiveRecordOverride:
501
- Enabled: true
502
- Rails/ActiveSupportAliases:
503
- Enabled: true
504
- Rails/AddColumnIndex:
505
- Enabled: true
506
- Rails/AfterCommitOverride:
507
- Enabled: true
508
- Rails/ApplicationController:
509
- Enabled: true
510
- Rails/ApplicationJob:
511
- Enabled: true
512
- Rails/ApplicationMailer:
513
- Enabled: true
514
- Rails/ApplicationRecord:
515
- Enabled: true
516
- Rails/ArelStar:
517
- Enabled: true
518
- Rails/AttributeDefaultBlockValue:
519
- Enabled: true
520
- Rails/BelongsTo:
521
- Enabled: true
522
- Rails/Blank:
523
- Enabled: true
524
- NilOrEmpty: false
525
- NotPresent: true
526
- UnlessPresent: true
527
- Rails/BulkChangeTable:
528
- Enabled: true
529
- Rails/CreateTableWithTimestamps:
530
- Enabled: true
531
- Rails/Date:
532
- Enabled: true
533
- Rails/DelegateAllowBlank:
534
- Enabled: true
535
- Rails/DynamicFindBy:
536
- Enabled: true
537
- Rails/EnumHash:
538
- Enabled: true
539
- Rails/EnumUniqueness:
540
- Enabled: true
541
- Rails/EnvironmentComparison:
542
- Enabled: true
543
- Rails/Exit:
544
- Enabled: true
545
- Rails/ExpandedDateRange:
546
- Enabled: true
547
- Rails/FindBy:
548
- Enabled: true
549
- Rails/FindById:
550
- Enabled: true
551
- Rails/FindEach:
552
- Enabled: true
553
- Rails/HasAndBelongsToMany:
554
- Enabled: true
555
- Rails/HelperInstanceVariable:
556
- Enabled: true
557
- Rails/HttpPositionalArguments:
558
- Enabled: true
559
- Rails/HttpStatus:
560
- Enabled: true
561
- Rails/IgnoredSkipActionFilterOption:
562
- Enabled: true
563
- Rails/IndexBy:
564
- Enabled: true
565
- Rails/IndexWith:
566
- Enabled: true
567
- Rails/InverseOf:
568
- Enabled: true
569
- Rails/LexicallyScopedActionFilter:
570
- Enabled: true
571
- Rails/LinkToBlank:
572
- Enabled: true
573
- Rails/MailerName:
574
- Enabled: true
575
- Rails/MatchRoute:
576
- Enabled: true
577
- Rails/NegateInclude:
578
- Enabled: true
579
- Rails/NotNullColumn:
580
- Enabled: true
581
- Rails/OrderById:
582
- Enabled: true
583
- Rails/PluckId:
584
- Enabled: true
585
- Rails/PluckInWhere:
586
- Enabled: true
587
- Rails/PluralizationGrammar:
588
- Enabled: true
589
- Rails/Presence:
590
- Enabled: true
591
- Rails/Present:
592
- Enabled: true
593
- NotNilAndNotEmpty: false
594
- NotBlank: true
595
- UnlessBlank: true
596
- Rails/RakeEnvironment:
597
- Enabled: true
598
- Rails/ReadWriteAttribute:
599
- Enabled: true
600
- Rails/RedundantAllowNil:
601
- Enabled: true
602
- Rails/RedundantReceiverInWithOptions:
603
- Enabled: true
604
- Rails/RedundantTravelBack:
605
- Enabled: true
606
- Rails/ReflectionClassName:
607
- Enabled: true
608
- Rails/RelativeDateConstant:
609
- Enabled: true
610
- Rails/RenderInline:
611
- Enabled: true
612
- Rails/RenderPlainText:
613
- Enabled: true
614
- Rails/RequestReferer:
615
- Enabled: true
616
- Rails/RequireDependency:
617
- Enabled: true
618
- Rails/ReversibleMigration:
619
- Enabled: true
620
- Include:
621
- - db/migrate/*.rb
622
- - db/sharded_migrate/*.rb
623
- Rails/ReversibleMigrationMethodDefinition:
624
- Enabled: true
625
- Include:
626
- - db/migrate/*.rb
627
- - db/sharded_migrate/*.rb
628
- Rails/SafeNavigation:
629
- Enabled: true
630
- Rails/SafeNavigationWithBlank:
631
- Enabled: true
632
- Rails/SaveBang:
633
- Enabled: true
634
- Exclude:
635
- - spec/**/*
636
- Rails/ScopeArgs:
637
- Enabled: true
638
- Rails/ShortI18n:
639
- Enabled: true
640
- Rails/SkipsModelValidations:
641
- Enabled: true
642
- Exclude:
643
- - db/**/*
644
- - spec/**/*
645
- Rails/SquishedSQLHeredocs:
646
- Enabled: true
647
- Rails/TimeZone:
648
- Enabled: true
649
- Rails/TimeZoneAssignment:
650
- Enabled: true
651
- Rails/UniqBeforePluck:
652
- Enabled: true
653
- Rails/UniqueValidationWithoutIndex:
654
- Enabled: true
655
- Rails/UnknownEnv:
656
- Enabled: true
657
- Environments:
658
- - development
659
- - production
660
- - staging
661
- - test
662
- Rails/UnusedIgnoredColumns:
663
- Enabled: true
664
- Rails/Validation:
665
- Enabled: true
666
- Rails/WhereEquals:
667
- Enabled: true
668
- Rails/WhereExists:
669
- Enabled: true
670
- Rails/WhereNot:
671
- Enabled: true
672
-
673
- Rake/ClassDefinitionInTask:
674
- Enabled: true
675
- Rake/Desc:
676
- Enabled: true
677
- Rake/DuplicateNamespace:
678
- Enabled: true
679
- Rake/DuplicateTask:
680
- Enabled: true
681
- Rake/MethodDefinitionInTask:
682
- Enabled: true
683
-
684
- RSpec/AroundBlock:
685
- Enabled: true
686
- RSpec/Be:
687
- Enabled: true
688
- RSpec/BeEql:
689
- Enabled: true
690
- RSpec/BeforeAfterAll:
691
- Enabled: true
692
- RSpec/Capybara/CurrentPathExpectation:
693
- Enabled: true
694
- RSpec/Capybara/FeatureMethods:
695
- Enabled: true
696
- RSpec/Capybara/VisibilityMatcher:
697
- Enabled: true
698
- RSpec/ContextMethod:
699
- Enabled: true
700
- RSpec/DescribeClass:
701
- Enabled: true
702
- Exclude:
703
- - spec/system/**/*
704
- - spec/tasks/**/*
705
- RSpec/DescribeMethod:
706
- Enabled: true
707
- RSpec/DescribeSymbol:
708
- Enabled: true
709
- RSpec/DescribedClass:
710
- Enabled: true
711
- RSpec/DescribedClassModuleWrapping:
712
- Enabled: true
713
- RSpec/EmptyExampleGroup:
714
- Enabled: true
715
- RSpec/EmptyHook:
716
- Enabled: true
717
- RSpec/EmptyLineAfterExample:
718
- Enabled: true
719
- RSpec/EmptyLineAfterExampleGroup:
720
- Enabled: true
721
- RSpec/ExampleWithoutDescription:
722
- Enabled: true
723
- RSpec/ExampleWording:
724
- Enabled: true
725
- RSpec/ExcessiveDocstringSpacing:
726
- Enabled: true
727
- RSpec/ExpectInHook:
728
- Enabled: true
729
- RSpec/ExpectOutput:
730
- Enabled: true
731
- RSpec/FactoryBot/AttributeDefinedStatically:
732
- Enabled: true
733
- RSpec/FactoryBot/CreateList:
734
- Enabled: true
735
- RSpec/FactoryBot/FactoryClassName:
736
- Enabled: true
737
- RSpec/FilePath:
738
- Enabled: true
739
- IgnoreMethods: true
740
- RSpec/Focus:
741
- Enabled: true
742
- RSpec/HooksBeforeExamples:
743
- Enabled: true
744
- RSpec/IdenticalEqualityAssertion:
745
- Enabled: true
746
- RSpec/InstanceSpy:
747
- Enabled: true
748
- RSpec/InstanceVariable:
749
- Enabled: true
750
- RSpec/ItBehavesLike:
751
- Enabled: true
752
- RSpec/IteratedExpectation:
753
- Enabled: true
754
- RSpec/LeakyConstantDeclaration:
755
- Enabled: true
756
- RSpec/LetBeforeExamples:
757
- Enabled: true
758
- RSpec/LetSetup:
759
- Enabled: true
760
- RSpec/MultipleDescribes:
761
- Enabled: true
762
- RSpec/MultipleSubjects:
763
- Enabled: true
764
- RSpec/OverwritingSetup:
765
- Enabled: true
766
- RSpec/Rails/AvoidSetupHook:
767
- Enabled: true
768
- RSpec/Rails/HttpStatus:
769
- Enabled: true
770
- RSpec/ReceiveCounts:
771
- Enabled: true
772
- RSpec/ReceiveNever:
773
- Enabled: true
774
- RSpec/RepeatedDescription:
775
- Enabled: true
776
- RSpec/RepeatedExample:
777
- Enabled: true
778
- RSpec/RepeatedExampleGroupBody:
779
- Enabled: true
780
- RSpec/RepeatedExampleGroupDescription:
781
- Enabled: true
782
- RSpec/ScatteredLet:
783
- Enabled: true
784
- RSpec/ScatteredSetup:
785
- Enabled: true
786
- RSpec/SharedContext:
787
- Enabled: true
788
- RSpec/SharedExamples:
789
- Enabled: true
790
- RSpec/SingleArgumentMessageChain:
791
- Enabled: true
792
- RSpec/StubbedMock:
793
- Enabled: true
794
- RSpec/SubjectDeclaration:
795
- Enabled: true
796
- RSpec/VariableDefinition:
797
- Enabled: true
798
- RSpec/VariableName:
799
- Enabled: true
800
- RSpec/VerifiedDoubles:
801
- Enabled: true
802
- RSpec/VoidExpect:
803
- Enabled: true
804
- RSpec/Yield:
805
- Enabled: true
806
-
807
- Security/Eval:
808
- Enabled: true
809
- Security/IoMethods:
810
- Enabled: true
811
- Security/JSONLoad:
812
- Enabled: true
813
- Security/MarshalLoad:
814
- Enabled: true
815
- Security/Open:
816
- Enabled: true
817
- Security/YAMLLoad:
818
- Enabled: true
819
-
820
- Style/AccessorGrouping:
821
- Enabled: true
822
- Style/Alias:
823
- Enabled: true
824
- EnforcedStyle: prefer_alias_method
825
- Style/AndOr:
826
- Enabled: true
827
- Style/ArgumentsForwarding:
828
- Enabled: true
829
- Style/ArrayCoercion:
830
- Enabled: true
831
- Style/ArrayJoin:
832
- Enabled: true
833
- Style/Attr:
834
- Enabled: true
835
- Style/AutoResourceCleanup:
836
- Enabled: true
837
- Style/BarePercentLiterals:
838
- Enabled: true
839
- Style/BeginBlock:
840
- Enabled: true
841
- Style/BisectedAttrAccessor:
842
- Enabled: true
843
- Style/BlockComments:
844
- Enabled: true
845
- Exclude:
846
- - support/**/*
847
- Style/BlockDelimiters:
848
- Enabled: true
849
- Exclude:
850
- - spec/**/*
851
- Style/CaseLikeIf:
852
- Enabled: true
853
- Style/CharacterLiteral:
854
- Enabled: true
855
- Style/ClassCheck:
856
- Enabled: true
857
- Style/ClassEqualityComparison:
858
- Enabled: true
859
- Style/ClassMethods:
860
- Enabled: true
861
- Style/CollectionCompact:
862
- Enabled: true
863
- Style/CollectionMethods:
864
- Enabled: true
865
- PreferredMethods:
866
- collect: 'map'
867
- collect!: 'map!'
868
- detect: 'find'
869
- find_all: 'select'
870
- Style/ColonMethodCall:
871
- Enabled: true
872
- Style/ColonMethodDefinition:
873
- Enabled: true
874
- Style/CombinableLoops:
875
- Enabled: true
876
- Style/CommentAnnotation:
877
- Enabled: true
878
- Style/ConditionalAssignment:
879
- Enabled: true
880
- Style/DateTime:
881
- Enabled: true
882
- Style/DefWithParentheses:
883
- Enabled: true
884
- Style/Dir:
885
- Enabled: true
886
- Style/DocumentDynamicEvalDefinition:
887
- Enabled: true
888
- Style/EachForSimpleLoop:
889
- Enabled: true
890
- Style/EachWithObject:
891
- Enabled: true
892
- Style/EmptyBlockParameter:
893
- Enabled: true
894
- Style/EmptyElse:
895
- Enabled: true
896
- Style/EmptyLambdaParameter:
897
- Enabled: true
898
- Style/EmptyLiteral:
899
- Enabled: true
900
- Style/EndBlock:
901
- Enabled: true
902
- Style/EndlessMethod:
903
- Enabled: true
904
- Style/EvalWithLocation:
905
- Enabled: true
906
- Style/EvenOdd:
907
- Enabled: true
908
- Style/ExpandPathArguments:
909
- Enabled: true
910
- Style/ExplicitBlockArgument:
911
- Enabled: true
912
- Style/ExponentialNotation:
913
- Enabled: true
914
- Style/FloatDivision:
915
- Enabled: true
916
- Style/For:
917
- Enabled: true
918
- Style/GlobalStdStream:
919
- Enabled: true
920
- Style/GlobalVars:
921
- Enabled: true
922
- Style/HashConversion:
923
- Enabled: true
924
- Style/HashEachMethods:
925
- Enabled: true
926
- Style/HashExcept:
927
- Enabled: true
928
- Style/HashLikeCase:
929
- Enabled: true
930
- Style/HashSyntax:
931
- Enabled: true
932
- Style/HashTransformKeys:
933
- Enabled: true
934
- Style/HashTransformValues:
935
- Enabled: true
936
- Style/IdenticalConditionalBranches:
937
- Enabled: true
938
- Style/IfInsideElse:
939
- Enabled: true
940
- Style/IfUnlessModifierOfIfUnless:
941
- Enabled: true
942
- Style/IfWithBooleanLiteralBranches:
943
- Enabled: true
944
- Style/IfWithSemicolon:
945
- Enabled: true
946
- Style/InfiniteLoop:
947
- Enabled: true
948
- Style/InverseMethods:
949
- Enabled: true
950
- Style/KeywordParametersOrder:
951
- Enabled: true
952
- Style/LambdaCall:
953
- Enabled: true
954
- Style/LineEndConcatenation:
955
- Enabled: true
956
- Style/MethodCallWithoutArgsParentheses:
957
- Enabled: true
958
- Style/MethodDefParentheses:
959
- Enabled: true
960
- Style/MinMax:
961
- Enabled: true
962
- Style/MissingRespondToMissing:
963
- Enabled: true
964
- Style/MixinGrouping:
965
- Enabled: true
966
- Style/MixinUsage:
967
- Enabled: true
968
- Style/ModuleFunction:
969
- Enabled: true
970
- Style/MultilineIfThen:
971
- Enabled: true
972
- Style/MultilineInPatternThen:
973
- Enabled: true
974
- Style/MultilineMemoization:
975
- Enabled: true
976
- Style/MultilineMethodSignature:
977
- Enabled: true
978
- Style/MultilineWhenThen:
979
- Enabled: true
980
- Style/MultipleComparison:
981
- Enabled: true
982
- Style/MutableConstant:
983
- Enabled: true
984
- Style/NegatedIf:
985
- Enabled: true
986
- Style/NegatedIfElseCondition:
987
- Enabled: true
988
- Style/NegatedUnless:
989
- Enabled: true
990
- Style/NegatedWhile:
991
- Enabled: true
992
- Style/NestedModifier:
993
- Enabled: true
994
- Style/NestedTernaryOperator:
995
- Enabled: true
996
- Style/Next:
997
- Enabled: true
998
- Style/NilComparison:
999
- Enabled: true
1000
- Style/NilLambda:
1001
- Enabled: true
1002
- Style/NonNilCheck:
1003
- Enabled: true
1004
- Style/Not:
1005
- Enabled: true
1006
- Style/NumberedParameters:
1007
- Enabled: true
1008
- Style/NumberedParametersLimit:
1009
- Enabled: true
1010
- Style/NumericLiteralPrefix:
1011
- Enabled: true
1012
- Style/NumericLiterals:
1013
- Enabled: true
1014
- Style/OneLineConditional:
1015
- Enabled: true
1016
- Style/OptionalArguments:
1017
- Enabled: true
1018
- Style/OptionalBooleanParameter:
1019
- Enabled: true
1020
- Style/ParenthesesAroundCondition:
1021
- Enabled: true
1022
- Style/PercentQLiterals:
1023
- Enabled: true
1024
- Style/PerlBackrefs:
1025
- Enabled: true
1026
- Style/PreferredHashMethods:
1027
- Enabled: true
1028
- Style/Proc:
1029
- Enabled: true
1030
- Style/RaiseArgs:
1031
- Enabled: true
1032
- Style/RedundantArgument:
1033
- Enabled: true
1034
- Style/RedundantAssignment:
1035
- Enabled: true
1036
- Style/RedundantBegin:
1037
- Enabled: true
1038
- Style/RedundantCapitalW:
1039
- Enabled: true
1040
- Style/RedundantCondition:
1041
- Enabled: true
1042
- Style/RedundantConditional:
1043
- Enabled: true
1044
- Style/RedundantException:
1045
- Enabled: true
1046
- Style/RedundantFetchBlock:
1047
- Enabled: true
1048
- Style/RedundantFileExtensionInRequire:
1049
- Enabled: true
1050
- Style/RedundantFreeze:
1051
- Enabled: true
1052
- Style/RedundantInterpolation:
1053
- Enabled: true
1054
- Style/RedundantParentheses:
1055
- Enabled: true
1056
- Style/RedundantPercentQ:
1057
- Enabled: true
1058
- Style/RedundantRegexpCharacterClass:
1059
- Enabled: true
1060
- Style/RedundantRegexpEscape:
1061
- Enabled: true
1062
- Style/RedundantReturn:
1063
- Enabled: true
1064
- Style/RedundantSelf:
1065
- Enabled: true
1066
- Style/RedundantSelfAssignment:
1067
- Enabled: true
1068
- Style/RedundantSelfAssignmentBranch:
1069
- Enabled: true
1070
- Style/RedundantSort:
1071
- Enabled: true
1072
- Style/RedundantSortBy:
1073
- Enabled: true
1074
- Style/RescueStandardError:
1075
- Enabled: true
1076
- Style/ReturnNil:
1077
- Enabled: true
1078
- Style/SafeNavigation:
1079
- Enabled: true
1080
- Style/Sample:
1081
- Enabled: true
1082
- Style/SelectByRegexp:
1083
- Enabled: true
1084
- Style/SelfAssignment:
1085
- Enabled: true
1086
- Style/SignalException:
1087
- Enabled: true
1088
- Style/SingleArgumentDig:
1089
- Enabled: true
1090
- Style/SlicingWithRange:
1091
- Enabled: true
1092
- Style/SoleNestedConditional:
1093
- Enabled: true
1094
- Style/SpecialGlobalVars:
1095
- Enabled: true
1096
- Style/StabbyLambdaParentheses:
1097
- Enabled: true
1098
- Style/StaticClass:
1099
- Enabled: true
1100
- Style/StderrPuts:
1101
- Enabled: true
1102
- Style/StringChars:
1103
- Enabled: true
1104
- Style/StringConcatenation:
1105
- Enabled: true
1106
- Style/StringMethods:
1107
- Enabled: true
1108
- Style/Strip:
1109
- Enabled: true
1110
- Style/StructInheritance:
1111
- Enabled: true
1112
- Style/SwapValues:
1113
- Enabled: true
1114
- Style/SymbolLiteral:
1115
- Enabled: true
1116
- Style/SymbolProc:
1117
- Enabled: true
1118
- Style/TopLevelMethodDefinition:
1119
- Enabled: true
1120
- Style/TrailingBodyOnClass:
1121
- Enabled: true
1122
- Style/TrailingBodyOnModule:
1123
- Enabled: true
1124
- Style/TrailingCommaInBlockArgs:
1125
- Enabled: true
1126
- Style/TrivialAccessors:
1127
- Enabled: true
1128
- Style/UnlessElse:
1129
- Enabled: true
1130
- Style/UnpackFirst:
1131
- Enabled: true
1132
- Style/VariableInterpolation:
1133
- Enabled: true
1134
- Style/WhileUntilDo:
1135
- Enabled: true
1136
- Style/YodaCondition:
1137
- Enabled: true
1138
- Style/ZeroLengthPredicate:
1139
- Enabled: true
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