rubocop-github 0.18.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
data/config/default.yml CHANGED
@@ -1,57 +1,272 @@
1
+ inherit_from:
2
+ - ./default_pending.yml
3
+
1
4
  require:
2
- - rubocop/cop/github
5
+ - rubocop-github
3
6
  - rubocop-performance
4
7
 
5
- AllCops:
6
- DisabledByDefault: true
7
-
8
8
  Bundler/DuplicatedGem:
9
9
  Enabled: true
10
10
 
11
+ Bundler/GemComment:
12
+ Enabled: false
13
+
14
+ Bundler/GemFilename:
15
+ Enabled: false
16
+
17
+ Bundler/GemVersion:
18
+ Enabled: false
19
+
20
+ Bundler/InsecureProtocolSource:
21
+ Enabled: false
22
+
11
23
  Bundler/OrderedGems:
12
24
  Enabled: true
13
25
 
26
+ Gemspec/DependencyVersion:
27
+ Enabled: false
28
+
29
+ Gemspec/DeprecatedAttributeAssignment:
30
+ Enabled: false
31
+
32
+ Gemspec/DuplicatedAssignment:
33
+ Enabled: false
34
+
35
+ Gemspec/OrderedDependencies:
36
+ Enabled: false
37
+
38
+ Gemspec/RequireMFA:
39
+ Enabled: false
40
+
41
+ Gemspec/RequiredRubyVersion:
42
+ Enabled: false
43
+
44
+ Gemspec/RubyVersionGlobalsUsage:
45
+ Enabled: false
46
+
14
47
  GitHub/InsecureHashAlgorithm:
15
48
  Enabled: true
16
49
 
50
+ Layout/AccessModifierIndentation:
51
+ Enabled: false
52
+
53
+ Layout/ArgumentAlignment:
54
+ Enabled: false
55
+
56
+ Layout/ArrayAlignment:
57
+ Enabled: false
58
+
59
+ Layout/AssignmentIndentation:
60
+ Enabled: false
61
+
62
+ Layout/BeginEndAlignment:
63
+ Enabled: false
64
+
17
65
  Layout/BlockAlignment:
18
66
  Enabled: true
19
67
 
20
68
  Layout/BlockEndNewline:
21
69
  Enabled: true
22
70
 
71
+ # TODO: Enable this since it's in the styleguide.
72
+ Layout/CaseIndentation:
73
+ Enabled: false
74
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#indent-when-as-start-of-case
75
+
76
+ Layout/ClassStructure:
77
+ Enabled: false
78
+
79
+ Layout/ClosingHeredocIndentation:
80
+ Enabled: false
81
+
82
+ Layout/ClosingParenthesisIndentation:
83
+ Enabled: false
84
+
85
+ Layout/CommentIndentation:
86
+ Enabled: false
87
+
23
88
  Layout/ConditionPosition:
24
89
  Enabled: true
25
90
 
26
91
  Layout/DefEndAlignment:
27
92
  Enabled: true
28
93
 
94
+ Layout/DotPosition:
95
+ Enabled: false
96
+
97
+ Layout/ElseAlignment:
98
+ Enabled: false
99
+
100
+ Layout/EmptyComment:
101
+ Enabled: false
102
+
103
+ Layout/EmptyLineAfterGuardClause:
104
+ Enabled: false
105
+
106
+ Layout/EmptyLineAfterMagicComment:
107
+ Enabled: false
108
+
109
+ Layout/EmptyLineAfterMultilineCondition:
110
+ Enabled: false
111
+
112
+ Layout/EmptyLineBetweenDefs:
113
+ Enabled: false
114
+
115
+ Layout/EmptyLines:
116
+ Enabled: false
117
+
118
+ Layout/EmptyLinesAroundAccessModifier:
119
+ Enabled: false
120
+
121
+ Layout/EmptyLinesAroundArguments:
122
+ Enabled: false
123
+
124
+ Layout/EmptyLinesAroundAttributeAccessor:
125
+ Enabled: false
126
+
127
+ Layout/EmptyLinesAroundBeginBody:
128
+ Enabled: false
129
+
130
+ Layout/EmptyLinesAroundBlockBody:
131
+ Enabled: false
132
+
133
+ Layout/EmptyLinesAroundClassBody:
134
+ Enabled: false
135
+
136
+ Layout/EmptyLinesAroundExceptionHandlingKeywords:
137
+ Enabled: false
138
+
139
+ Layout/EmptyLinesAroundMethodBody:
140
+ Enabled: false
141
+
142
+ Layout/EmptyLinesAroundModuleBody:
143
+ Enabled: false
144
+
29
145
  Layout/EndAlignment:
30
146
  Enabled: false
31
147
 
32
148
  Layout/EndOfLine:
33
149
  Enabled: true
34
150
 
151
+ Layout/ExtraSpacing:
152
+ Enabled: false
153
+
154
+ Layout/FirstArgumentIndentation:
155
+ Enabled: false
156
+
157
+ Layout/FirstArrayElementIndentation:
158
+ Enabled: false
159
+
160
+ Layout/FirstArrayElementLineBreak:
161
+ Enabled: false
162
+
163
+ Layout/FirstHashElementIndentation:
164
+ Enabled: false
165
+
166
+ Layout/FirstHashElementLineBreak:
167
+ Enabled: false
168
+
169
+ Layout/FirstMethodArgumentLineBreak:
170
+ Enabled: false
171
+
172
+ Layout/FirstMethodParameterLineBreak:
173
+ Enabled: false
174
+
175
+ Layout/FirstParameterIndentation:
176
+ Enabled: false
177
+
178
+ Layout/HashAlignment:
179
+ Enabled: false
180
+
181
+ Layout/HeredocArgumentClosingParenthesis:
182
+ Enabled: false
183
+
184
+ Layout/HeredocIndentation:
185
+ Enabled: false
186
+
187
+ Layout/IndentationConsistency:
188
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#indentation
189
+
35
190
  Layout/IndentationStyle:
36
- Enabled: true
37
191
  EnforcedStyle: spaces
38
192
  IndentationWidth: 2
193
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#default-indentation
39
194
 
40
195
  Layout/IndentationWidth:
41
- Enabled: true
42
196
  Width: 2
197
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#default-indentation
43
198
 
44
199
  Layout/InitialIndentation:
45
200
  Enabled: true
46
201
 
202
+ Layout/LeadingCommentSpace:
203
+ Enabled: false
204
+
205
+ Layout/LeadingEmptyLines:
206
+ Enabled: false
207
+
208
+ Layout/LineContinuationLeadingSpace:
209
+ Enabled: false
210
+
211
+ Layout/LineContinuationSpacing:
212
+ Enabled: false
213
+
214
+ Layout/LineEndStringConcatenationIndentation:
215
+ Enabled: false
216
+
47
217
  Layout/LineLength:
48
218
  Enabled: false
49
219
 
220
+ Layout/MultilineArrayBraceLayout:
221
+ Enabled: false
222
+
223
+ Layout/MultilineArrayLineBreaks:
224
+ Enabled: false
225
+
226
+ Layout/MultilineAssignmentLayout:
227
+ Enabled: false
228
+
229
+ Layout/MultilineBlockLayout:
230
+ Enabled: false
231
+
232
+ Layout/MultilineHashBraceLayout:
233
+ Enabled: false
234
+
235
+ Layout/MultilineHashKeyLineBreaks:
236
+ Enabled: false
237
+
238
+ Layout/MultilineMethodArgumentLineBreaks:
239
+ Enabled: false
240
+
241
+ Layout/MultilineMethodCallBraceLayout:
242
+ Enabled: false
243
+
244
+ Layout/MultilineMethodCallIndentation:
245
+ Enabled: false
246
+
247
+ Layout/MultilineMethodDefinitionBraceLayout:
248
+ Enabled: false
249
+
250
+ Layout/MultilineOperationIndentation:
251
+ Enabled: false
252
+
253
+ Layout/ParameterAlignment:
254
+ Enabled: false
255
+
256
+ Layout/RedundantLineBreak:
257
+ Enabled: false
258
+
259
+ Layout/RescueEnsureAlignment:
260
+ Enabled: false
261
+
262
+ Layout/SingleLineBlockChain:
263
+ Enabled: false
264
+
50
265
  Layout/SpaceAfterColon:
51
- Enabled: true
266
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-operators
52
267
 
53
268
  Layout/SpaceAfterComma:
54
- Enabled: true
269
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-operators
55
270
 
56
271
  Layout/SpaceAfterMethodName:
57
272
  Enabled: true
@@ -60,20 +275,47 @@ Layout/SpaceAfterNot:
60
275
  Enabled: true
61
276
 
62
277
  Layout/SpaceAfterSemicolon:
63
- Enabled: true
278
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-operators
64
279
 
65
280
  Layout/SpaceAroundBlockParameters:
66
281
  Enabled: true
67
282
 
68
283
  Layout/SpaceAroundEqualsInParameterDefault:
69
- Enabled: true
284
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-around-equals
285
+
286
+ Layout/SpaceAroundKeyword:
287
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-operators
288
+
289
+ Layout/SpaceAroundMethodCallOperator:
290
+ Enabled: false
291
+
292
+ Layout/SpaceAroundOperators:
293
+ Enabled: false
70
294
 
71
295
  Layout/SpaceBeforeBlockBraces:
72
296
  Enabled: true
73
297
 
298
+ Layout/SpaceBeforeBrackets:
299
+ Enabled: false
300
+
301
+ Layout/SpaceBeforeComma:
302
+ Enabled: false
303
+
304
+ Layout/SpaceBeforeComment:
305
+ Enabled: false
306
+
307
+ Layout/SpaceBeforeFirstArg:
308
+ Enabled: false
309
+
310
+ Layout/SpaceBeforeSemicolon:
311
+ Enabled: false
312
+
313
+ Layout/SpaceInLambdaLiteral:
314
+ Enabled: false
315
+
74
316
  Layout/SpaceInsideArrayLiteralBrackets:
75
- Enabled: true
76
317
  EnforcedStyle: no_space
318
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-spaces-braces
77
319
 
78
320
  Layout/SpaceInsideArrayPercentLiteral:
79
321
  Enabled: true
@@ -81,45 +323,141 @@ Layout/SpaceInsideArrayPercentLiteral:
81
323
  Layout/SpaceInsideBlockBraces:
82
324
  Enabled: true
83
325
 
326
+ Layout/SpaceInsideHashLiteralBraces:
327
+ Enabled: false
328
+
84
329
  Layout/SpaceInsideParens:
85
330
  Enabled: true
86
331
 
332
+ Layout/SpaceInsidePercentLiteralDelimiters:
333
+ Enabled: false
334
+
87
335
  Layout/SpaceInsideRangeLiteral:
88
336
  Enabled: true
89
337
 
90
338
  Layout/SpaceInsideReferenceBrackets:
91
339
  Enabled: true
92
340
 
341
+ Layout/SpaceInsideStringInterpolation:
342
+ Enabled: false
343
+
93
344
  Layout/TrailingEmptyLines:
94
345
  Enabled: true
95
346
 
96
347
  Layout/TrailingWhitespace:
348
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#trailing-whitespace
349
+
350
+ Lint/AmbiguousAssignment:
351
+ Enabled: false
352
+
353
+ Lint/AmbiguousBlockAssociation:
354
+ Enabled: false
355
+
356
+ Lint/AmbiguousOperator:
357
+ Enabled: false
358
+
359
+ Lint/AmbiguousOperatorPrecedence:
360
+ Enabled: false
361
+
362
+ Lint/AmbiguousRange:
363
+ Enabled: false
364
+
365
+ Lint/AmbiguousRegexpLiteral:
366
+ Enabled: false
367
+
368
+ Lint/AssignmentInCondition:
369
+ Enabled: false
370
+
371
+ Lint/BigDecimalNew:
372
+ Enabled: false
373
+
374
+ Lint/BinaryOperatorWithIdenticalOperands:
97
375
  Enabled: true
98
376
 
377
+ Lint/BooleanSymbol:
378
+ Enabled: false
379
+
99
380
  Lint/CircularArgumentReference:
100
381
  Enabled: true
101
382
 
383
+ Lint/ConstantDefinitionInBlock:
384
+ Enabled: false
385
+
386
+ Lint/ConstantOverwrittenInRescue:
387
+ Enabled: false
388
+
389
+ Lint/ConstantResolution:
390
+ Enabled: false
391
+
102
392
  Lint/Debugger:
103
393
  Enabled: true
104
394
 
105
395
  Lint/DeprecatedClassMethods:
106
396
  Enabled: true
107
397
 
108
- Lint/DuplicateMethods:
109
- Enabled: true
398
+ Lint/DeprecatedConstants:
399
+ Enabled: false
400
+
401
+ Lint/DeprecatedOpenSSLConstant:
402
+ Enabled: false
403
+
404
+ Lint/DisjunctiveAssignmentInConstructor:
405
+ Enabled: false
406
+
407
+ Lint/DuplicateBranch:
408
+ Enabled: false
409
+
410
+ Lint/DuplicateCaseCondition:
411
+ Enabled: false
412
+
413
+ Lint/DuplicateElsifCondition:
414
+ Enabled: false
110
415
 
111
416
  Lint/DuplicateHashKey:
112
417
  Enabled: true
113
418
 
419
+ Lint/DuplicateMethods:
420
+ Enabled: true
421
+
422
+ Lint/DuplicateRegexpCharacterClassElement:
423
+ Enabled: false
424
+
425
+ Lint/DuplicateRequire:
426
+ Enabled: false
427
+
428
+ Lint/DuplicateRescueException:
429
+ Enabled: false
430
+
114
431
  Lint/EachWithObjectArgument:
115
432
  Enabled: true
116
433
 
117
434
  Lint/ElseLayout:
118
435
  Enabled: true
119
436
 
437
+ Lint/EmptyBlock:
438
+ Enabled: false
439
+
440
+ Lint/EmptyClass:
441
+ Enabled: false
442
+
443
+ Lint/EmptyInPattern:
444
+ Enabled: false
445
+
446
+ Lint/EmptyConditionalBody:
447
+ Enabled: false
448
+
120
449
  Lint/EmptyEnsure:
121
450
  Enabled: true
122
451
 
452
+ Lint/EmptyExpression:
453
+ Enabled: false
454
+
455
+ Lint/EmptyFile:
456
+ Enabled: false
457
+
458
+ Lint/EmptyWhen:
459
+ Enabled: false
460
+
123
461
  Lint/EmptyInterpolation:
124
462
  Enabled: true
125
463
 
@@ -129,12 +467,42 @@ Lint/EnsureReturn:
129
467
  Lint/FlipFlop:
130
468
  Enabled: true
131
469
 
470
+ Lint/FloatComparison:
471
+ Enabled: false
472
+
132
473
  Lint/FloatOutOfRange:
133
474
  Enabled: true
134
475
 
135
476
  Lint/FormatParameterMismatch:
136
477
  Enabled: true
137
478
 
479
+ Lint/HashCompareByIdentity:
480
+ Enabled: false
481
+
482
+ Lint/HeredocMethodCallPosition:
483
+ Enabled: false
484
+
485
+ Lint/IdentityComparison:
486
+ Enabled: false
487
+
488
+ Lint/ImplicitStringConcatenation:
489
+ Enabled: false
490
+
491
+ Lint/IncompatibleIoSelectWithFiberScheduler:
492
+ Enabled: false
493
+
494
+ Lint/IneffectiveAccessModifier:
495
+ Enabled: false
496
+
497
+ Lint/InheritException:
498
+ Enabled: false
499
+
500
+ Lint/InterpolationCheck:
501
+ Enabled: false
502
+
503
+ Lint/LambdaWithoutLiteralBlock:
504
+ Enabled: false
505
+
138
506
  Lint/LiteralAsCondition:
139
507
  Enabled: true
140
508
 
@@ -144,39 +512,224 @@ Lint/LiteralInInterpolation:
144
512
  Lint/Loop:
145
513
  Enabled: true
146
514
 
147
- Lint/NextWithoutAccumulator:
515
+ Lint/MissingCopEnableDirective:
516
+ Enabled: false
517
+
518
+ Lint/MissingSuper:
519
+ Enabled: false
520
+
521
+ Lint/MixedRegexpCaptureTypes:
522
+ Enabled: false
523
+
524
+ Lint/MultipleComparison:
525
+ Enabled: false
526
+
527
+ Lint/NestedMethodDefinition:
528
+ Enabled: false
529
+
530
+ Lint/NestedPercentLiteral:
531
+ Enabled: false
532
+
533
+ Lint/NextWithoutAccumulator:
148
534
  Enabled: true
149
535
 
536
+ Lint/NoReturnInBeginEndBlocks:
537
+ Enabled: false
538
+
539
+ Lint/NonAtomicFileOperation:
540
+ Enabled: false
541
+
542
+ Lint/NonDeterministicRequireOrder:
543
+ Enabled: false
544
+
545
+ Lint/NonLocalExitFromIterator:
546
+ Enabled: false
547
+
548
+ Lint/NumberConversion:
549
+ Enabled: false
550
+
551
+ Lint/NumberedParameterAssignment:
552
+ Enabled: false
553
+
554
+ Lint/OrAssignmentToConstant:
555
+ Enabled: false
556
+
557
+ Lint/OrderedMagicComments:
558
+ Enabled: false
559
+
560
+ Lint/OutOfRangeRegexpRef:
561
+ Enabled: false
562
+
563
+ Lint/ParenthesesAsGroupedExpression:
564
+ Enabled: false
565
+
566
+ Lint/PercentStringArray:
567
+ Enabled: false
568
+
569
+ Lint/PercentSymbolArray:
570
+ Enabled: false
571
+
572
+ Lint/RaiseException:
573
+ Enabled: false
574
+
150
575
  Lint/RandOne:
151
576
  Enabled: true
152
577
 
153
- Lint/RequireParentheses:
578
+ Lint/RedundantCopDisableDirective:
154
579
  Enabled: true
155
580
 
156
- Lint/RescueException:
581
+ Lint/RedundantCopEnableDirective:
582
+ Enabled: false
583
+
584
+ Lint/RedundantDirGlobSort:
585
+ Enabled: false
586
+
587
+ Lint/RedundantRequireStatement:
588
+ Enabled: false
589
+
590
+ Lint/RedundantSafeNavigation:
591
+ Enabled: false
592
+
593
+ Lint/RedundantSplatExpansion:
157
594
  Enabled: true
158
595
 
159
596
  Lint/RedundantStringCoercion:
160
597
  Enabled: true
161
598
 
162
- Lint/UnderscorePrefixedVariableName:
599
+ Lint/RedundantWithIndex:
600
+ Enabled: false
601
+
602
+ Lint/RedundantWithObject:
603
+ Enabled: false
604
+
605
+ Lint/RefinementImportMethods:
606
+ Enabled: false
607
+
608
+ Lint/RegexpAsCondition:
609
+ Enabled: false
610
+
611
+ Lint/RequireParentheses:
163
612
  Enabled: true
164
613
 
165
- Lint/RedundantCopDisableDirective:
614
+ Lint/RequireRangeParentheses:
615
+ Enabled: false
616
+
617
+ Lint/RequireRelativeSelfPath:
618
+ Enabled: false
619
+
620
+ Lint/RescueException:
166
621
  Enabled: true
167
622
 
168
- Lint/RedundantSplatExpansion:
623
+ Lint/RescueType:
624
+ Enabled: false
625
+
626
+ Lint/ReturnInVoidContext:
627
+ Enabled: false
628
+
629
+ Lint/SafeNavigationChain:
630
+ Enabled: false
631
+
632
+ Lint/SafeNavigationConsistency:
633
+ Enabled: false
634
+
635
+ Lint/SafeNavigationWithEmpty:
636
+ Enabled: false
637
+
638
+ Lint/ScriptPermission:
639
+ Enabled: false
640
+
641
+ Lint/SelfAssignment:
642
+ Enabled: false
643
+
644
+ Lint/SendWithMixinArgument:
645
+ Enabled: false
646
+
647
+ Lint/ShadowedArgument:
648
+ Enabled: false
649
+
650
+ Lint/ShadowedException:
651
+ Enabled: false
652
+
653
+ Lint/ShadowingOuterLocalVariable:
654
+ Enabled: false
655
+
656
+ Lint/StructNewOverride:
657
+ Enabled: false
658
+
659
+ Lint/SuppressedException:
660
+ Enabled: false
661
+
662
+ Lint/SymbolConversion:
663
+ Enabled: false
664
+
665
+ Lint/ToEnumArguments:
666
+ Enabled: false
667
+
668
+ Lint/ToJSON:
669
+ Enabled: false
670
+
671
+ Lint/TopLevelReturnWithArgument:
672
+ Enabled: false
673
+
674
+ Lint/TrailingCommaInAttributeDeclaration:
675
+ Enabled: false
676
+
677
+ Lint/TripleQuotes:
678
+ Enabled: false
679
+
680
+ Lint/UnderscorePrefixedVariableName:
169
681
  Enabled: true
170
682
 
683
+ Lint/UnexpectedBlockArity:
684
+ Enabled: false
685
+
686
+ Lint/UnifiedInteger:
687
+ Enabled: false
688
+
689
+ Lint/UnmodifiedReduceAccumulator:
690
+ Enabled: false
691
+
171
692
  Lint/UnreachableCode:
172
693
  Enabled: true
173
694
 
174
- Lint/BinaryOperatorWithIdenticalOperands:
175
- Enabled: true
695
+ Lint/UnreachableLoop:
696
+ Enabled: false
697
+
698
+ # TODO: Enable this since it's in the styleguide.
699
+ Lint/UnusedBlockArgument:
700
+ Enabled: false
701
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#underscore-unused-vars
702
+
703
+ Lint/UnusedMethodArgument:
704
+ Enabled: false
705
+
706
+ Lint/UriEscapeUnescape:
707
+ Enabled: false
708
+
709
+ Lint/UriRegexp:
710
+ Enabled: false
711
+
712
+ Lint/UselessAccessModifier:
713
+ Enabled: false
714
+
715
+ Lint/UselessAssignment:
716
+ Enabled: false
717
+
718
+ Lint/UselessElseWithoutRescue:
719
+ Enabled: false
720
+
721
+ Lint/UselessMethodDefinition:
722
+ Enabled: false
723
+
724
+ Lint/UselessRuby2Keywords:
725
+ Enabled: false
176
726
 
177
727
  Lint/UselessSetterCall:
178
728
  Enabled: true
179
729
 
730
+ Lint/UselessTimes:
731
+ Enabled: false
732
+
180
733
  Lint/Void:
181
734
  Enabled: true
182
735
 
@@ -207,24 +760,111 @@ Metrics/ParameterLists:
207
760
  Metrics/PerceivedComplexity:
208
761
  Enabled: false
209
762
 
763
+ Migration/DepartmentName:
764
+ Enabled: false
765
+
766
+ Naming/AccessorMethodName:
767
+ Enabled: false
768
+
210
769
  Naming/AsciiIdentifiers:
211
770
  Enabled: true
212
771
 
772
+ Naming/BinaryOperatorParameterName:
773
+ Enabled: false
774
+
775
+ Naming/BlockForwarding:
776
+ Enabled: false
777
+
778
+ Naming/BlockParameterName:
779
+ Enabled: false
780
+
213
781
  Naming/ClassAndModuleCamelCase:
214
782
  Enabled: true
215
783
 
784
+ Naming/ConstantName:
785
+ Enabled: false
786
+
216
787
  Naming/FileName:
217
788
  Enabled: true
218
789
 
790
+ Naming/HeredocDelimiterCase:
791
+ Enabled: false
792
+
793
+ Naming/HeredocDelimiterNaming:
794
+ Enabled: false
795
+
796
+ Naming/InclusiveLanguage:
797
+ Enabled: false
798
+
799
+ Naming/MemoizedInstanceVariableName:
800
+ Enabled: false
801
+
219
802
  Naming/MethodName:
220
803
  Enabled: true
221
804
 
805
+ Naming/MethodParameterName:
806
+ Enabled: false
807
+
808
+ Naming/PredicateName:
809
+ Enabled: false
810
+
811
+ Naming/RescuedExceptionsVariableName:
812
+ Enabled: false
813
+
814
+ Naming/VariableName:
815
+ Enabled: false
816
+
817
+ Naming/VariableNumber:
818
+ Enabled: false
819
+
820
+ Performance/AncestorsInclude:
821
+ Enabled: false
822
+
823
+ Performance/ArraySemiInfiniteRangeSlice:
824
+ Enabled: false
825
+
826
+ Performance/BigDecimalWithNumericArgument:
827
+ Enabled: false
828
+
829
+ Performance/BindCall:
830
+ Enabled: false
831
+
832
+ Performance/BlockGivenWithExplicitBlock:
833
+ Enabled: false
834
+
835
+ Performance/Caller:
836
+ Enabled: false
837
+
222
838
  Performance/CaseWhenSplat:
223
839
  Enabled: false
224
840
 
841
+ Performance/Casecmp:
842
+ Enabled: false
843
+
844
+ Performance/ChainArrayAllocation:
845
+ Enabled: false
846
+
847
+ Performance/CollectionLiteralInLoop:
848
+ Enabled: false
849
+
850
+ Performance/CompareWithBlock:
851
+ Enabled: false
852
+
853
+ Performance/ConcurrentMonotonicTime:
854
+ Enabled: false
855
+
856
+ Performance/ConstantRegexp:
857
+ Enabled: false
858
+
225
859
  Performance/Count:
226
860
  Enabled: true
227
861
 
862
+ Performance/DeletePrefix:
863
+ Enabled: false
864
+
865
+ Performance/DeleteSuffix:
866
+ Enabled: false
867
+
228
868
  Performance/Detect:
229
869
  Enabled: true
230
870
 
@@ -234,12 +874,36 @@ Performance/DoubleStartEndWith:
234
874
  Performance/EndWith:
235
875
  Enabled: true
236
876
 
877
+ Performance/FixedSize:
878
+ Enabled: false
879
+
237
880
  Performance/FlatMap:
238
881
  Enabled: true
239
882
 
883
+ Performance/InefficientHashSearch:
884
+ Enabled: false
885
+
886
+ Performance/IoReadlines:
887
+ Enabled: false
888
+
889
+ Performance/MapCompact:
890
+ Enabled: false
891
+
892
+ Performance/MethodObjectAsBlock:
893
+ Enabled: false
894
+
895
+ Performance/OpenStruct:
896
+ Enabled: false
897
+
240
898
  Performance/RangeInclude:
241
899
  Enabled: false
242
900
 
901
+ Performance/RedundantBlockCall:
902
+ Enabled: false
903
+
904
+ Performance/RedundantEqualityComparisonBlock:
905
+ Enabled: false
906
+
243
907
  Performance/RedundantMatch:
244
908
  Enabled: false
245
909
 
@@ -247,88 +911,778 @@ Performance/RedundantMerge:
247
911
  Enabled: true
248
912
  MaxKeyValuePairs: 1
249
913
 
914
+ Performance/RedundantSortBlock:
915
+ Enabled: false
916
+
917
+ Performance/RedundantSplitRegexpArgument:
918
+ Enabled: false
919
+
920
+ Performance/RedundantStringChars:
921
+ Enabled: false
922
+
923
+ Performance/RegexpMatch:
924
+ Enabled: false
925
+
250
926
  Performance/ReverseEach:
251
927
  Enabled: true
252
928
 
929
+ Performance/ReverseFirst:
930
+ Enabled: false
931
+
932
+ Performance/SelectMap:
933
+ Enabled: false
934
+
253
935
  Performance/Size:
254
936
  Enabled: true
255
937
 
938
+ Performance/SortReverse:
939
+ Enabled: false
940
+
941
+ Performance/Squeeze:
942
+ Enabled: false
943
+
256
944
  Performance/StartWith:
257
945
  Enabled: true
258
946
 
259
- Security/Eval:
260
- Enabled: true
947
+ Performance/StringIdentifierArgument:
948
+ Enabled: false
261
949
 
262
- Style/ArrayJoin:
263
- Enabled: true
950
+ Performance/StringInclude:
951
+ Enabled: false
264
952
 
265
- Style/BeginBlock:
266
- Enabled: true
953
+ Performance/StringReplacement:
954
+ Enabled: false
267
955
 
268
- Style/BlockComments:
269
- Enabled: true
956
+ Performance/Sum:
957
+ Enabled: false
270
958
 
271
- Style/CaseEquality:
272
- Enabled: true
959
+ Performance/TimesMap:
960
+ Enabled: false
273
961
 
274
- Style/CharacterLiteral:
275
- Enabled: true
962
+ Performance/UnfreezeString:
963
+ Enabled: false
276
964
 
277
- Style/ClassMethods:
278
- Enabled: true
965
+ Performance/UriDefaultParser:
966
+ Enabled: false
279
967
 
280
- Style/Copyright:
968
+ Security/CompoundHash:
281
969
  Enabled: false
282
970
 
283
- Style/DefWithParentheses:
971
+ Security/Eval:
284
972
  Enabled: true
285
973
 
286
- Style/EndBlock:
287
- Enabled: true
974
+ Security/IoMethods:
975
+ Enabled: false
288
976
 
289
- Style/For:
290
- Enabled: true
977
+ Security/JSONLoad:
978
+ Enabled: false
979
+
980
+ Security/MarshalLoad:
981
+ Enabled: false
982
+
983
+ Security/Open:
984
+ Enabled: false
985
+
986
+ Security/YAMLLoad:
987
+ Enabled: false
988
+
989
+ Style/AccessModifierDeclarations:
990
+ Enabled: false
991
+
992
+ Style/AccessorGrouping:
993
+ Enabled: false
994
+
995
+ Style/Alias:
996
+ Enabled: false
997
+
998
+ # TODO: Enable this since it's in the styleguide.
999
+ Style/AndOr:
1000
+ Enabled: false
1001
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-and-or-or
1002
+
1003
+ Style/ArgumentsForwarding:
1004
+ Enabled: false
1005
+
1006
+ Style/ArrayCoercion:
1007
+ Enabled: false
1008
+
1009
+ Style/ArrayJoin:
1010
+ Enabled: true
1011
+
1012
+ Style/AsciiComments:
1013
+ Enabled: false
1014
+
1015
+ Style/Attr:
1016
+ Enabled: false
1017
+
1018
+ Style/AutoResourceCleanup:
1019
+ Enabled: false
1020
+
1021
+ Style/BarePercentLiterals:
1022
+ Enabled: false
1023
+
1024
+ Style/BeginBlock:
1025
+ Enabled: true
1026
+
1027
+ Style/BisectedAttrAccessor:
1028
+ Enabled: false
1029
+
1030
+ Style/BlockComments:
1031
+ Enabled: true
1032
+
1033
+ Style/BlockDelimiters:
1034
+ Enabled: false
1035
+
1036
+ Style/CaseEquality:
1037
+ Enabled: true
1038
+
1039
+ Style/CaseLikeIf:
1040
+ Enabled: false
1041
+
1042
+ Style/CharacterLiteral:
1043
+ Enabled: true
1044
+
1045
+ Style/ClassAndModuleChildren:
1046
+ Enabled: false
1047
+
1048
+ Style/ClassCheck:
1049
+ Enabled: false
1050
+
1051
+ Style/ClassEqualityComparison:
1052
+ Enabled: false
1053
+
1054
+ Style/ClassMethods:
1055
+ Enabled: true
1056
+
1057
+ Style/ClassMethodsDefinitions:
1058
+ Enabled: false
1059
+
1060
+ Style/ClassVars:
1061
+ Enabled: false
1062
+
1063
+ Style/CollectionCompact:
1064
+ Enabled: false
1065
+
1066
+ Style/CollectionMethods:
1067
+ Enabled: false
1068
+
1069
+ Style/ColonMethodCall:
1070
+ Enabled: false
1071
+
1072
+ Style/ColonMethodDefinition:
1073
+ Enabled: false
1074
+
1075
+ Style/CombinableLoops:
1076
+ Enabled: false
1077
+
1078
+ Style/CommandLiteral:
1079
+ Enabled: false
1080
+
1081
+ Style/CommentAnnotation:
1082
+ Enabled: false
1083
+
1084
+ Style/CommentedKeyword:
1085
+ Enabled: false
1086
+
1087
+ Style/ConditionalAssignment:
1088
+ Enabled: false
1089
+
1090
+ Style/ConstantVisibility:
1091
+ Enabled: false
1092
+
1093
+ Style/Copyright:
1094
+ Enabled: false
1095
+
1096
+ Style/DateTime:
1097
+ Enabled: false
1098
+
1099
+ Style/DefWithParentheses:
1100
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#method-parens-when-arguments
1101
+
1102
+ Style/Dir:
1103
+ Enabled: false
1104
+
1105
+ Style/DisableCopsWithinSourceCodeDirective:
1106
+ Enabled: false
1107
+
1108
+ Style/DocumentDynamicEvalDefinition:
1109
+ Enabled: false
1110
+
1111
+ Style/Documentation:
1112
+ Enabled: false
1113
+
1114
+ Style/DocumentationMethod:
1115
+ Enabled: false
1116
+
1117
+ Style/DoubleCopDisableDirective:
1118
+ Enabled: false
1119
+
1120
+ Style/DoubleNegation:
1121
+ Enabled: false
1122
+
1123
+ Style/EachForSimpleLoop:
1124
+ Enabled: false
1125
+
1126
+ Style/EachWithObject:
1127
+ Enabled: false
1128
+
1129
+ Style/EmptyBlockParameter:
1130
+ Enabled: false
1131
+
1132
+ Style/EmptyCaseCondition:
1133
+ Enabled: false
1134
+
1135
+ Style/EmptyElse:
1136
+ Enabled: false
1137
+
1138
+ Style/EmptyHeredoc:
1139
+ Enabled: false
1140
+
1141
+ Style/EmptyLambdaParameter:
1142
+ Enabled: false
1143
+
1144
+ Style/EmptyLiteral:
1145
+ Enabled: false
1146
+
1147
+ Style/EmptyMethod:
1148
+ Enabled: false
1149
+
1150
+ Style/Encoding:
1151
+ Enabled: false
1152
+
1153
+ Style/EndBlock:
1154
+ Enabled: true
1155
+
1156
+ Style/EndlessMethod:
1157
+ Enabled: false
1158
+
1159
+ Style/EnvHome:
1160
+ Enabled: false
1161
+
1162
+ Style/EvalWithLocation:
1163
+ Enabled: false
1164
+
1165
+ Style/EvenOdd:
1166
+ Enabled: false
1167
+
1168
+ Style/ExpandPathArguments:
1169
+ Enabled: false
1170
+
1171
+ Style/ExplicitBlockArgument:
1172
+ Enabled: false
1173
+
1174
+ Style/ExponentialNotation:
1175
+ Enabled: false
1176
+
1177
+ Style/FetchEnvVar:
1178
+ Enabled: false
1179
+
1180
+ Style/FileRead:
1181
+ Enabled: false
1182
+
1183
+ Style/FileWrite:
1184
+ Enabled: false
1185
+
1186
+ Style/FloatDivision:
1187
+ Enabled: false
1188
+
1189
+ Style/For:
1190
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#avoid-for
1191
+
1192
+ Style/FormatString:
1193
+ Enabled: false
1194
+
1195
+ Style/FormatStringToken:
1196
+ Enabled: false
291
1197
 
292
1198
  Style/FrozenStringLiteralComment:
293
1199
  Enabled: true
294
1200
 
1201
+ Style/GlobalStdStream:
1202
+ Enabled: false
1203
+
1204
+ Style/GlobalVars:
1205
+ Enabled: false
1206
+
1207
+ Style/GuardClause:
1208
+ Enabled: false
1209
+
1210
+ Style/HashAsLastArrayItem:
1211
+ Enabled: false
1212
+
1213
+ Style/HashConversion:
1214
+ Enabled: false
1215
+
1216
+ Style/HashEachMethods:
1217
+ Enabled: false
1218
+
1219
+ Style/HashExcept:
1220
+ Enabled: false
1221
+
1222
+ Style/HashLikeCase:
1223
+ Enabled: false
1224
+
295
1225
  Style/HashSyntax:
296
- Enabled: true
297
1226
  EnforcedStyle: ruby19_no_mixed_keys
1227
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#symbols-as-keys
1228
+
1229
+ Style/HashTransformKeys:
1230
+ Enabled: false
1231
+
1232
+ Style/HashTransformValues:
1233
+ Enabled: false
1234
+
1235
+ Style/IdenticalConditionalBranches:
1236
+ Enabled: false
1237
+
1238
+ Style/IfInsideElse:
1239
+ Enabled: false
1240
+
1241
+ Style/IfUnlessModifier:
1242
+ Enabled: false
1243
+
1244
+ Style/IfUnlessModifierOfIfUnless:
1245
+ Enabled: false
1246
+
1247
+ Style/IfWithBooleanLiteralBranches:
1248
+ Enabled: false
1249
+
1250
+ Style/IfWithSemicolon:
1251
+ Enabled: false
1252
+
1253
+ Style/ImplicitRuntimeError:
1254
+ Enabled: false
1255
+
1256
+ Style/InPatternThen:
1257
+ Enabled: false
1258
+
1259
+ Style/InfiniteLoop:
1260
+ Enabled: false
1261
+
1262
+ Style/InlineComment:
1263
+ Enabled: false
1264
+
1265
+ Style/InverseMethods:
1266
+ Enabled: false
1267
+
1268
+ Style/IpAddresses:
1269
+ Enabled: false
1270
+
1271
+ Style/KeywordParametersOrder:
1272
+ Enabled: false
1273
+
1274
+ Style/Lambda:
1275
+ Enabled: false
298
1276
 
299
1277
  Style/LambdaCall:
300
1278
  Enabled: true
301
1279
 
1280
+ Style/LineEndConcatenation:
1281
+ Enabled: false
1282
+
1283
+ Style/MagicCommentFormat:
1284
+ Enabled: false
1285
+
1286
+ Style/MapCompactWithConditionalBlock:
1287
+ Enabled: false
1288
+
1289
+ Style/MapToHash:
1290
+ Enabled: false
1291
+
1292
+ Style/MethodCallWithArgsParentheses:
1293
+ Enabled: false
1294
+
302
1295
  Style/MethodCallWithoutArgsParentheses:
303
1296
  Enabled: true
304
1297
 
1298
+ Style/MethodCalledOnDoEndBlock:
1299
+ Enabled: false
1300
+
305
1301
  Style/MethodDefParentheses:
306
1302
  Enabled: true
307
1303
 
1304
+ Style/MinMax:
1305
+ Enabled: false
1306
+
1307
+ Style/MissingElse:
1308
+ Enabled: false
1309
+
1310
+ Style/MissingRespondToMissing:
1311
+ Enabled: false
1312
+
1313
+ Style/MixinGrouping:
1314
+ Enabled: false
1315
+
1316
+ Style/MixinUsage:
1317
+ Enabled: false
1318
+
1319
+ Style/ModuleFunction:
1320
+ Enabled: false
1321
+
1322
+ Style/MultilineBlockChain:
1323
+ Enabled: false
1324
+
1325
+ Style/MultilineIfModifier:
1326
+ Enabled: false
1327
+
308
1328
  Style/MultilineIfThen:
309
- Enabled: true
1329
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-then-for-multi-line-if-unless
1330
+
1331
+ Style/MultilineInPatternThen:
1332
+ Enabled: false
1333
+
1334
+ Style/MultilineMemoization:
1335
+ Enabled: false
1336
+
1337
+ Style/MultilineMethodSignature:
1338
+ Enabled: false
1339
+
1340
+ Style/MultilineTernaryOperator:
1341
+ Enabled: false
1342
+
1343
+ Style/MultilineWhenThen:
1344
+ Enabled: false
1345
+
1346
+ Style/MultipleComparison:
1347
+ Enabled: false
1348
+
1349
+ Style/MutableConstant:
1350
+ Enabled: false
1351
+
1352
+ Style/NegatedIf:
1353
+ Enabled: false
1354
+
1355
+ Style/NegatedIfElseCondition:
1356
+ Enabled: false
1357
+
1358
+ Style/NegatedUnless:
1359
+ Enabled: false
1360
+
1361
+ Style/NegatedWhile:
1362
+ Enabled: false
1363
+
1364
+ Style/NestedFileDirname:
1365
+ Enabled: false
1366
+
1367
+ Style/NestedModifier:
1368
+ Enabled: false
1369
+
1370
+ Style/NestedParenthesizedCalls:
1371
+ Enabled: false
1372
+
1373
+ Style/NestedTernaryOperator:
1374
+ Enabled: false
1375
+
1376
+ Style/Next:
1377
+ Enabled: false
310
1378
 
311
1379
  Style/NilComparison:
312
1380
  Enabled: true
313
1381
 
1382
+ Style/NilLambda:
1383
+ Enabled: false
1384
+
1385
+ Style/NonNilCheck:
1386
+ Enabled: false
1387
+
314
1388
  Style/Not:
315
1389
  Enabled: true
316
1390
 
1391
+ Style/NumberedParameters:
1392
+ Enabled: false
1393
+
1394
+ Style/NumberedParametersLimit:
1395
+ Enabled: false
1396
+
1397
+ Style/NumericLiteralPrefix:
1398
+ Enabled: false
1399
+
1400
+ Style/NumericLiterals:
1401
+ Enabled: false
1402
+
1403
+ Style/NumericPredicate:
1404
+ Enabled: false
1405
+
1406
+ Style/ObjectThen:
1407
+ Enabled: false
1408
+
317
1409
  Style/OneLineConditional:
318
1410
  Enabled: true
319
1411
 
1412
+ Style/OpenStructUse:
1413
+ Enabled: false
1414
+
1415
+ Style/OptionHash:
1416
+ Enabled: false
1417
+
1418
+ Style/OptionalArguments:
1419
+ Enabled: false
1420
+
1421
+ Style/OptionalBooleanParameter:
1422
+ Enabled: false
1423
+
1424
+ Style/OrAssignment:
1425
+ Enabled: false
1426
+
1427
+ Style/ParallelAssignment:
1428
+ Enabled: false
1429
+
1430
+ Style/ParenthesesAroundCondition:
1431
+ Enabled: false
1432
+
1433
+ Style/PercentLiteralDelimiters:
1434
+ Enabled: false
1435
+
1436
+ Style/PercentQLiterals:
1437
+ Enabled: false
1438
+
1439
+ Style/PerlBackrefs:
1440
+ Enabled: false
1441
+
1442
+ Style/PreferredHashMethods:
1443
+ Enabled: false
1444
+
1445
+ Style/Proc:
1446
+ Enabled: false
1447
+
1448
+ Style/QuotedSymbols:
1449
+ Enabled: false
1450
+
1451
+ Style/RaiseArgs:
1452
+ Enabled: false
1453
+
1454
+ Style/RandomWithOffset:
1455
+ Enabled: false
1456
+
1457
+ Style/RedundantArgument:
1458
+ Enabled: false
1459
+
1460
+ Style/RedundantAssignment:
1461
+ Enabled: false
1462
+
1463
+ Style/RedundantBegin:
1464
+ Enabled: false
1465
+
1466
+ Style/RedundantCapitalW:
1467
+ Enabled: false
1468
+
1469
+ Style/RedundantCondition:
1470
+ Enabled: false
1471
+
1472
+ Style/RedundantConditional:
1473
+ Enabled: false
1474
+
1475
+ Style/RedundantException:
1476
+ Enabled: false
1477
+
1478
+ Style/RedundantFetchBlock:
1479
+ Enabled: false
1480
+
1481
+ Style/RedundantFileExtensionInRequire:
1482
+ Enabled: false
1483
+
1484
+ Style/RedundantFreeze:
1485
+ Enabled: false
1486
+
1487
+ Style/RedundantInitialize:
1488
+ Enabled: false
1489
+
1490
+ Style/RedundantInterpolation:
1491
+ Enabled: false
1492
+
1493
+ Style/RedundantParentheses:
1494
+ Enabled: false
1495
+
1496
+ Style/RedundantPercentQ:
1497
+ Enabled: false
1498
+
1499
+ Style/RedundantRegexpCharacterClass:
1500
+ Enabled: false
1501
+
1502
+ Style/RedundantRegexpEscape:
1503
+ Enabled: false
1504
+
1505
+ # TODO: Enable this since it's in the styleguide.
1506
+ Style/RedundantReturn:
1507
+ Enabled: false
1508
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#avoid-return
1509
+
1510
+ Style/RedundantSelf:
1511
+ Enabled: false
1512
+
1513
+ Style/RedundantSelfAssignment:
1514
+ Enabled: false
1515
+
1516
+ Style/RedundantSelfAssignmentBranch:
1517
+ Enabled: false
1518
+
1519
+ Style/RedundantSort:
1520
+ Enabled: false
1521
+
320
1522
  Style/RedundantSortBy:
321
1523
  Enabled: true
322
1524
 
1525
+ Style/RegexpLiteral:
1526
+ Enabled: false
1527
+
1528
+ Style/RescueModifier:
1529
+ Enabled: false
1530
+
1531
+ Style/RescueStandardError:
1532
+ Enabled: false
1533
+
1534
+ Style/ReturnNil:
1535
+ Enabled: false
1536
+
1537
+ Style/SafeNavigation:
1538
+ Enabled: false
1539
+
323
1540
  Style/Sample:
324
1541
  Enabled: true
325
1542
 
1543
+ Style/SelectByRegexp:
1544
+ Enabled: false
1545
+
1546
+ Style/SelfAssignment:
1547
+ Enabled: false
1548
+
1549
+ Style/Semicolon:
1550
+ Enabled: false
1551
+
1552
+ Style/Send:
1553
+ Enabled: false
1554
+
1555
+ Style/SignalException:
1556
+ Enabled: false
1557
+
1558
+ Style/SingleArgumentDig:
1559
+ Enabled: false
1560
+
1561
+ Style/SingleLineBlockParams:
1562
+ Enabled: false
1563
+
1564
+ Style/SingleLineMethods:
1565
+ Enabled: false
1566
+
1567
+ Style/SlicingWithRange:
1568
+ Enabled: false
1569
+
1570
+ Style/SoleNestedConditional:
1571
+ Enabled: false
1572
+
1573
+ Style/SpecialGlobalVars:
1574
+ Enabled: false
1575
+
326
1576
  Style/StabbyLambdaParentheses:
327
1577
  Enabled: true
328
1578
 
329
- Style/Strip:
330
- Enabled: true
1579
+ Style/StaticClass:
1580
+ Enabled: false
1581
+
1582
+ Style/StderrPuts:
1583
+ Enabled: false
1584
+
1585
+ Style/StringChars:
1586
+ Enabled: false
1587
+
1588
+ Style/StringConcatenation:
1589
+ Enabled: false
1590
+
1591
+ Style/StringHashKeys:
1592
+ Enabled: false
331
1593
 
332
1594
  Style/StringLiterals:
333
- Enabled: true
334
1595
  EnforcedStyle: double_quotes
1596
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#double-quotes
1597
+
1598
+ Style/StringLiteralsInInterpolation:
1599
+ Enabled: false
1600
+
1601
+ Style/StringMethods:
1602
+ Enabled: false
1603
+
1604
+ Style/Strip:
1605
+ Enabled: true
1606
+
1607
+ Style/StructInheritance:
1608
+ Enabled: false
1609
+
1610
+ Style/SwapValues:
1611
+ Enabled: false
1612
+
1613
+ Style/SymbolArray:
1614
+ Enabled: false
1615
+
1616
+ Style/SymbolLiteral:
1617
+ Enabled: false
1618
+
1619
+ Style/SymbolProc:
1620
+ Enabled: false
1621
+
1622
+ Style/TernaryParentheses:
1623
+ Enabled: false
1624
+
1625
+ Style/TopLevelMethodDefinition:
1626
+ Enabled: false
1627
+
1628
+ Style/TrailingBodyOnClass:
1629
+ Enabled: false
1630
+
1631
+ Style/TrailingBodyOnMethodDefinition:
1632
+ Enabled: false
1633
+
1634
+ Style/TrailingBodyOnModule:
1635
+ Enabled: false
1636
+
1637
+ Style/TrailingCommaInArguments:
1638
+ Enabled: false
1639
+
1640
+ Style/TrailingCommaInArrayLiteral:
1641
+ Enabled: false
1642
+
1643
+ Style/TrailingCommaInBlockArgs:
1644
+ Enabled: false
1645
+
1646
+ Style/TrailingCommaInHashLiteral:
1647
+ Enabled: false
1648
+
1649
+ Style/TrailingMethodEndStatement:
1650
+ Enabled: false
1651
+
1652
+ Style/TrailingUnderscoreVariable:
1653
+ Enabled: false
1654
+
1655
+ Style/TrivialAccessors:
1656
+ Enabled: false
1657
+
1658
+ # TODO: Enable this since it's in the styleguide.
1659
+ Style/UnlessElse:
1660
+ Enabled: false
1661
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-else-with-unless
1662
+
1663
+ Style/UnlessLogicalOperators:
1664
+ Enabled: false
1665
+
1666
+ Style/UnpackFirst:
1667
+ Enabled: false
1668
+
1669
+ Style/VariableInterpolation:
1670
+ Enabled: false
1671
+
1672
+ Style/WhenThen:
1673
+ Enabled: false
1674
+
1675
+ Style/WhileUntilDo:
1676
+ Enabled: false
1677
+
1678
+ Style/WhileUntilModifier:
1679
+ Enabled: false
1680
+
1681
+ Style/WordArray:
1682
+ Enabled: false
1683
+
1684
+ Style/YodaCondition:
1685
+ Enabled: false
1686
+
1687
+ Style/ZeroLengthPredicate:
1688
+ Enabled: false