rubocop-github 0.27.0 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/config/default.yml CHANGED
@@ -26,12 +26,21 @@ Bundler/InsecureProtocolSource:
26
26
  Bundler/OrderedGems:
27
27
  Enabled: true
28
28
 
29
+ Gemspec/AddRuntimeDependency:
30
+ Enabled: true
31
+
32
+ Gemspec/AttributeAssignment:
33
+ Enabled: true
34
+
29
35
  Gemspec/DependencyVersion:
30
36
  Enabled: false
31
37
 
32
38
  Gemspec/DeprecatedAttributeAssignment:
33
39
  Enabled: false
34
40
 
41
+ Gemspec/DevelopmentDependencies:
42
+ Enabled: true
43
+
35
44
  Gemspec/DuplicatedAssignment:
36
45
  Enabled: false
37
46
 
@@ -53,6 +62,10 @@ GitHub/AvoidObjectSendWithDynamicMethod:
53
62
  GitHub/InsecureHashAlgorithm:
54
63
  Enabled: true
55
64
 
65
+ GitHub/UnreliableSubclasses:
66
+ Enabled: true
67
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#avoid-classdescendants-and-classsubclasses
68
+
56
69
  Layout/AccessModifierIndentation:
57
70
  Enabled: false
58
71
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#user-content-access-modifier-indentation
@@ -123,6 +136,9 @@ Layout/EmptyLineBetweenDefs:
123
136
  Layout/EmptyLines:
124
137
  Enabled: false
125
138
 
139
+ Layout/EmptyLinesAfterModuleInclusion:
140
+ Enabled: false
141
+
126
142
  Layout/EmptyLinesAroundAccessModifier:
127
143
  Enabled: false
128
144
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#access-modifier-indentation
@@ -283,6 +299,7 @@ Layout/SpaceAfterMethodName:
283
299
 
284
300
  Layout/SpaceAfterNot:
285
301
  Enabled: true
302
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-spaces-bang
286
303
 
287
304
  Layout/SpaceAfterSemicolon:
288
305
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-operators
@@ -307,6 +324,7 @@ Layout/SpaceAroundOperators:
307
324
 
308
325
  Layout/SpaceBeforeBlockBraces:
309
326
  Enabled: true
327
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-operators
310
328
 
311
329
  Layout/SpaceBeforeBrackets:
312
330
  Enabled: false
@@ -342,6 +360,7 @@ Layout/SpaceInsideHashLiteralBraces:
342
360
 
343
361
  Layout/SpaceInsideParens:
344
362
  Enabled: true
363
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-spaces-braces
345
364
 
346
365
  Layout/SpaceInsidePercentLiteralDelimiters:
347
366
  Enabled: false
@@ -351,6 +370,7 @@ Layout/SpaceInsideRangeLiteral:
351
370
 
352
371
  Layout/SpaceInsideReferenceBrackets:
353
372
  Enabled: true
373
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-spaces-braces
354
374
 
355
375
  Layout/SpaceInsideStringInterpolation:
356
376
  Enabled: false
@@ -380,6 +400,12 @@ Lint/AmbiguousRange:
380
400
  Lint/AmbiguousRegexpLiteral:
381
401
  Enabled: false
382
402
 
403
+ Lint/ArgumentMismatch:
404
+ Enabled: false
405
+
406
+ Lint/ArrayLiteralInRegexp:
407
+ Enabled: true
408
+
383
409
  Lint/AssignmentInCondition:
384
410
  Enabled: false
385
411
 
@@ -401,9 +427,18 @@ Lint/ConstantDefinitionInBlock:
401
427
  Lint/ConstantOverwrittenInRescue:
402
428
  Enabled: false
403
429
 
430
+ Lint/ConstantReassignment:
431
+ Enabled: true
432
+
404
433
  Lint/ConstantResolution:
405
434
  Enabled: false
406
435
 
436
+ Lint/CopDirectiveSyntax:
437
+ Enabled: false
438
+
439
+ Lint/DataDefineOverride:
440
+ Enabled: false
441
+
407
442
  Lint/Debugger:
408
443
  Enabled: true
409
444
 
@@ -416,6 +451,9 @@ Lint/DeprecatedConstants:
416
451
  Lint/DeprecatedOpenSSLConstant:
417
452
  Enabled: false
418
453
 
454
+ Lint/DeprecatedReference:
455
+ Enabled: false
456
+
419
457
  Lint/DisjunctiveAssignmentInConstructor:
420
458
  Enabled: false
421
459
 
@@ -431,6 +469,12 @@ Lint/DuplicateElsifCondition:
431
469
  Lint/DuplicateHashKey:
432
470
  Enabled: true
433
471
 
472
+ Lint/DuplicateMagicComment:
473
+ Enabled: true
474
+
475
+ Lint/DuplicateMatchPattern:
476
+ Enabled: true
477
+
434
478
  Lint/DuplicateMethods:
435
479
  Enabled: true
436
480
 
@@ -443,6 +487,9 @@ Lint/DuplicateRequire:
443
487
  Lint/DuplicateRescueException:
444
488
  Enabled: false
445
489
 
490
+ Lint/DuplicateSetElement:
491
+ Enabled: true
492
+
446
493
  Lint/EachWithObjectArgument:
447
494
  Enabled: true
448
495
 
@@ -494,6 +541,9 @@ Lint/FormatParameterMismatch:
494
541
  Lint/HashCompareByIdentity:
495
542
  Enabled: false
496
543
 
544
+ Lint/HashNewWithKeywordArgumentsAsDefault:
545
+ Enabled: true
546
+
497
547
  Lint/HeredocMethodCallPosition:
498
548
  Enabled: false
499
549
 
@@ -515,24 +565,36 @@ Lint/InheritException:
515
565
  Lint/InterpolationCheck:
516
566
  Enabled: false
517
567
 
568
+ Lint/ItWithoutArgumentsInBlock:
569
+ Enabled: true
570
+
518
571
  Lint/LambdaWithoutLiteralBlock:
519
572
  Enabled: false
520
573
 
521
574
  Lint/LiteralAsCondition:
522
575
  Enabled: true
523
576
 
577
+ Lint/LiteralAssignmentInCondition:
578
+ Enabled: false
579
+
524
580
  Lint/LiteralInInterpolation:
525
581
  Enabled: true
526
582
 
527
583
  Lint/Loop:
528
584
  Enabled: true
529
585
 
586
+ Lint/MisplacedMagicComment:
587
+ Enabled: true
588
+
530
589
  Lint/MissingCopEnableDirective:
531
590
  Enabled: false
532
591
 
533
592
  Lint/MissingSuper:
534
593
  Enabled: false
535
594
 
595
+ Lint/MixedCaseRange:
596
+ Enabled: true
597
+
536
598
  Lint/MixedRegexpCaptureTypes:
537
599
  Enabled: false
538
600
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#capture-with-named-groups
@@ -540,6 +602,9 @@ Lint/MixedRegexpCaptureTypes:
540
602
  Lint/MultipleComparison:
541
603
  Enabled: false
542
604
 
605
+ Lint/NameTypo:
606
+ Enabled: false
607
+
543
608
  Lint/NestedMethodDefinition:
544
609
  Enabled: false
545
610
 
@@ -567,6 +632,9 @@ Lint/NumberConversion:
567
632
  Lint/NumberedParameterAssignment:
568
633
  Enabled: false
569
634
 
635
+ Lint/NumericOperationWithConstantResult:
636
+ Enabled: true
637
+
570
638
  Lint/OrAssignmentToConstant:
571
639
  Enabled: false
572
640
 
@@ -602,6 +670,9 @@ Lint/RedundantCopEnableDirective:
602
670
  Lint/RedundantDirGlobSort:
603
671
  Enabled: false
604
672
 
673
+ Lint/RedundantRegexpQuantifiers:
674
+ Enabled: true
675
+
605
676
  Lint/RedundantRequireStatement:
606
677
  Enabled: false
607
678
 
@@ -614,6 +685,9 @@ Lint/RedundantSplatExpansion:
614
685
  Lint/RedundantStringCoercion:
615
686
  Enabled: true
616
687
 
688
+ Lint/RedundantTypeConversion:
689
+ Enabled: true
690
+
617
691
  Lint/RedundantWithIndex:
618
692
  Enabled: false
619
693
 
@@ -671,12 +745,21 @@ Lint/ShadowedException:
671
745
  Lint/ShadowingOuterLocalVariable:
672
746
  Enabled: false
673
747
 
748
+ Lint/SharedMutableDefault:
749
+ Enabled: true
750
+
674
751
  Lint/StructNewOverride:
675
752
  Enabled: false
676
753
 
754
+ Lint/SuperArgumentMismatch:
755
+ Enabled: false
756
+
677
757
  Lint/SuppressedException:
678
758
  Enabled: false
679
759
 
760
+ Lint/SuppressedExceptionInNumberConversion:
761
+ Enabled: true
762
+
680
763
  Lint/SymbolConversion:
681
764
  Enabled: false
682
765
 
@@ -698,6 +781,9 @@ Lint/TripleQuotes:
698
781
  Lint/UnderscorePrefixedVariableName:
699
782
  Enabled: true
700
783
 
784
+ Lint/UnescapedBracketInRegexp:
785
+ Enabled: true
786
+
701
787
  Lint/UnexpectedBlockArity:
702
788
  Enabled: false
703
789
 
@@ -713,6 +799,9 @@ Lint/UnreachableCode:
713
799
  Lint/UnreachableLoop:
714
800
  Enabled: false
715
801
 
802
+ Lint/UnreachablePatternBranch:
803
+ Enabled: true
804
+
716
805
  # TODO: Enable this since it's in the styleguide.
717
806
  Lint/UnusedBlockArgument:
718
807
  Enabled: false
@@ -733,12 +822,30 @@ Lint/UselessAccessModifier:
733
822
  Lint/UselessAssignment:
734
823
  Enabled: false
735
824
 
825
+ Lint/UselessConstantScoping:
826
+ Enabled: false
827
+
828
+ Lint/UselessDefaultValueArgument:
829
+ Enabled: true
830
+
831
+ Lint/UselessDefined:
832
+ Enabled: true
833
+
736
834
  Lint/UselessElseWithoutRescue:
737
835
  Enabled: false
738
836
 
739
837
  Lint/UselessMethodDefinition:
740
838
  Enabled: false
741
839
 
840
+ Lint/UselessNumericOperation:
841
+ Enabled: false
842
+
843
+ Lint/UselessOr:
844
+ Enabled: true
845
+
846
+ Lint/UselessRescue:
847
+ Enabled: true
848
+
742
849
  Lint/UselessRuby2Keywords:
743
850
  Enabled: false
744
851
 
@@ -763,6 +870,9 @@ Metrics/BlockNesting:
763
870
  Metrics/ClassLength:
764
871
  Enabled: false
765
872
 
873
+ Metrics/CollectionLiteralLength:
874
+ Enabled: false
875
+
766
876
  Metrics/CyclomaticComplexity:
767
877
  Enabled: false
768
878
 
@@ -821,12 +931,17 @@ Naming/MemoizedInstanceVariableName:
821
931
 
822
932
  Naming/MethodName:
823
933
  Enabled: true
934
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#snake-case-methods-vars
824
935
 
825
936
  Naming/MethodParameterName:
826
937
  Enabled: false
827
938
 
939
+ Naming/PredicateMethod:
940
+ Enabled: false
941
+
828
942
  Naming/PredicatePrefix:
829
943
  Enabled: false
944
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#bool-methods-qmark
830
945
 
831
946
  Naming/RescuedExceptionsVariableName:
832
947
  Enabled: false
@@ -910,6 +1025,9 @@ Performance/IoReadlines:
910
1025
  Performance/MapCompact:
911
1026
  Enabled: false
912
1027
 
1028
+ Performance/MapMethodChain:
1029
+ Enabled: false
1030
+
913
1031
  Performance/MethodObjectAsBlock:
914
1032
  Enabled: false
915
1033
 
@@ -965,6 +1083,9 @@ Performance/Squeeze:
965
1083
  Performance/StartWith:
966
1084
  Enabled: true
967
1085
 
1086
+ Performance/StringBytesize:
1087
+ Enabled: true
1088
+
968
1089
  Performance/StringIdentifierArgument:
969
1090
  Enabled: false
970
1091
 
@@ -986,6 +1107,9 @@ Performance/UnfreezeString:
986
1107
  Performance/UriDefaultParser:
987
1108
  Enabled: false
988
1109
 
1110
+ Performance/ZipWithoutBlock:
1111
+ Enabled: false
1112
+
989
1113
  Security/CompoundHash:
990
1114
  Enabled: false
991
1115
 
@@ -1016,6 +1140,9 @@ Style/AccessorGrouping:
1016
1140
  Style/Alias:
1017
1141
  Enabled: false
1018
1142
 
1143
+ Style/AmbiguousEndlessMethodDefinition:
1144
+ Enabled: true
1145
+
1019
1146
  Style/AndOr:
1020
1147
  Enabled: true
1021
1148
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-and-or-or
@@ -1026,6 +1153,12 @@ Style/ArgumentsForwarding:
1026
1153
  Style/ArrayCoercion:
1027
1154
  Enabled: false
1028
1155
 
1156
+ Style/ArrayIntersect:
1157
+ Enabled: false
1158
+
1159
+ Style/ArrayIntersectWithSingleElement:
1160
+ Enabled: true
1161
+
1029
1162
  Style/ArrayJoin:
1030
1163
  Enabled: true
1031
1164
 
@@ -1048,6 +1181,9 @@ Style/BeginBlock:
1048
1181
  Style/BisectedAttrAccessor:
1049
1182
  Enabled: false
1050
1183
 
1184
+ Style/BitwisePredicate:
1185
+ Enabled: false
1186
+
1051
1187
  Style/BlockComments:
1052
1188
  Enabled: true
1053
1189
 
@@ -1091,12 +1227,18 @@ Style/CollectionCompact:
1091
1227
  Style/CollectionMethods:
1092
1228
  Enabled: false
1093
1229
 
1230
+ Style/CollectionQuerying:
1231
+ Enabled: false
1232
+
1094
1233
  Style/ColonMethodCall:
1095
1234
  Enabled: false
1096
1235
 
1097
1236
  Style/ColonMethodDefinition:
1098
1237
  Enabled: false
1099
1238
 
1239
+ Style/CombinableDefined:
1240
+ Enabled: false
1241
+
1100
1242
  Style/CombinableLoops:
1101
1243
  Enabled: false
1102
1244
 
@@ -1109,6 +1251,15 @@ Style/CommentAnnotation:
1109
1251
  Style/CommentedKeyword:
1110
1252
  Enabled: false
1111
1253
 
1254
+ Style/ComparableBetween:
1255
+ Enabled: false
1256
+
1257
+ Style/ComparableClamp:
1258
+ Enabled: false
1259
+
1260
+ Style/ConcatArrayLiterals:
1261
+ Enabled: false
1262
+
1112
1263
  Style/ConditionalAssignment:
1113
1264
  Enabled: false
1114
1265
 
@@ -1118,15 +1269,27 @@ Style/ConstantVisibility:
1118
1269
  Style/Copyright:
1119
1270
  Enabled: false
1120
1271
 
1272
+ Style/DataInheritance:
1273
+ Enabled: true
1274
+
1121
1275
  Style/DateTime:
1122
1276
  Enabled: false
1123
1277
 
1124
1278
  Style/DefWithParentheses:
1125
1279
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#method-parens-when-arguments
1126
1280
 
1281
+ Style/DigChain:
1282
+ Enabled: false
1283
+
1127
1284
  Style/Dir:
1128
1285
  Enabled: false
1129
1286
 
1287
+ Style/DirEmpty:
1288
+ Enabled: true
1289
+
1290
+ Style/DirectiveScope:
1291
+ Enabled: false
1292
+
1130
1293
  Style/DisableCopsWithinSourceCodeDirective:
1131
1294
  Enabled: false
1132
1295
 
@@ -1139,9 +1302,6 @@ Style/Documentation:
1139
1302
  Style/DocumentationMethod:
1140
1303
  Enabled: false
1141
1304
 
1142
- Style/DoubleCopDisableDirective:
1143
- Enabled: false
1144
-
1145
1305
  Style/DoubleNegation:
1146
1306
  Enabled: false
1147
1307
 
@@ -1157,6 +1317,9 @@ Style/EmptyBlockParameter:
1157
1317
  Style/EmptyCaseCondition:
1158
1318
  Enabled: false
1159
1319
 
1320
+ Style/EmptyClassDefinition:
1321
+ Enabled: false
1322
+
1160
1323
  Style/EmptyElse:
1161
1324
  Enabled: false
1162
1325
 
@@ -1172,6 +1335,9 @@ Style/EmptyLiteral:
1172
1335
  Style/EmptyMethod:
1173
1336
  Enabled: false
1174
1337
 
1338
+ Style/EmptyStringInsideInterpolation:
1339
+ Enabled: false
1340
+
1175
1341
  Style/Encoding:
1176
1342
  Enabled: false
1177
1343
 
@@ -1190,6 +1356,9 @@ Style/EvalWithLocation:
1190
1356
  Style/EvenOdd:
1191
1357
  Enabled: false
1192
1358
 
1359
+ Style/ExactRegexpMatch:
1360
+ Enabled: true
1361
+
1193
1362
  Style/ExpandPathArguments:
1194
1363
  Enabled: false
1195
1364
 
@@ -1202,9 +1371,21 @@ Style/ExponentialNotation:
1202
1371
  Style/FetchEnvVar:
1203
1372
  Enabled: false
1204
1373
 
1374
+ Style/FileEmpty:
1375
+ Enabled: true
1376
+
1377
+ Style/FileNull:
1378
+ Enabled: true
1379
+
1380
+ Style/FileOpen:
1381
+ Enabled: false
1382
+
1205
1383
  Style/FileRead:
1206
1384
  Enabled: false
1207
1385
 
1386
+ Style/FileTouch:
1387
+ Enabled: true
1388
+
1208
1389
  Style/FileWrite:
1209
1390
  Enabled: false
1210
1391
 
@@ -1244,9 +1425,15 @@ Style/HashEachMethods:
1244
1425
  Style/HashExcept:
1245
1426
  Enabled: false
1246
1427
 
1428
+ Style/HashFetchChain:
1429
+ Enabled: false
1430
+
1247
1431
  Style/HashLikeCase:
1248
1432
  Enabled: false
1249
1433
 
1434
+ Style/HashSlice:
1435
+ Enabled: false
1436
+
1250
1437
  Style/HashSyntax:
1251
1438
  EnforcedStyle: ruby19_no_mixed_keys
1252
1439
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#symbols-as-keys
@@ -1265,6 +1452,7 @@ Style/IfInsideElse:
1265
1452
 
1266
1453
  Style/IfUnlessModifier:
1267
1454
  Enabled: false
1455
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#favor-modifier-if-unless
1268
1456
 
1269
1457
  Style/IfUnlessModifierOfIfUnless:
1270
1458
  Enabled: false
@@ -1293,6 +1481,15 @@ Style/InverseMethods:
1293
1481
  Style/IpAddresses:
1294
1482
  Enabled: false
1295
1483
 
1484
+ Style/ItAssignment:
1485
+ Enabled: false
1486
+
1487
+ Style/ItBlockParameter:
1488
+ Enabled: false
1489
+
1490
+ Style/KeywordArgumentsMerging:
1491
+ Enabled: false
1492
+
1296
1493
  Style/KeywordParametersOrder:
1297
1494
  Enabled: false
1298
1495
 
@@ -1311,9 +1508,18 @@ Style/MagicCommentFormat:
1311
1508
  Style/MapCompactWithConditionalBlock:
1312
1509
  Enabled: false
1313
1510
 
1511
+ Style/MapIntoArray:
1512
+ Enabled: false
1513
+
1514
+ Style/MapJoin:
1515
+ Enabled: false
1516
+
1314
1517
  Style/MapToHash:
1315
1518
  Enabled: false
1316
1519
 
1520
+ Style/MapToSet:
1521
+ Enabled: false
1522
+
1317
1523
  Style/MethodCallWithArgsParentheses:
1318
1524
  Enabled: false
1319
1525
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#parens-no-spaces
@@ -1330,6 +1536,9 @@ Style/MethodDefParentheses:
1330
1536
  Style/MinMax:
1331
1537
  Enabled: false
1332
1538
 
1539
+ Style/MinMaxComparison:
1540
+ Enabled: false
1541
+
1333
1542
  Style/MissingElse:
1334
1543
  Enabled: false
1335
1544
 
@@ -1345,6 +1554,9 @@ Style/MixinUsage:
1345
1554
  Style/ModuleFunction:
1346
1555
  Enabled: false
1347
1556
 
1557
+ Style/ModuleMemberExistenceCheck:
1558
+ Enabled: true
1559
+
1348
1560
  Style/MultilineBlockChain:
1349
1561
  Enabled: false
1350
1562
 
@@ -1365,6 +1577,7 @@ Style/MultilineMethodSignature:
1365
1577
 
1366
1578
  Style/MultilineTernaryOperator:
1367
1579
  Enabled: false
1580
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-multiline-ternary
1368
1581
 
1369
1582
  Style/MultilineWhenThen:
1370
1583
  Enabled: false
@@ -1388,6 +1601,9 @@ Style/NegatedUnless:
1388
1601
  Style/NegatedWhile:
1389
1602
  Enabled: false
1390
1603
 
1604
+ Style/NegativeArrayIndex:
1605
+ Enabled: false
1606
+
1391
1607
  Style/NestedFileDirname:
1392
1608
  Enabled: false
1393
1609
 
@@ -1436,12 +1652,19 @@ Style/NumericPredicate:
1436
1652
  Style/ObjectThen:
1437
1653
  Enabled: false
1438
1654
 
1655
+ Style/OneClassPerFile:
1656
+ Enabled: false
1657
+
1439
1658
  Style/OneLineConditional:
1440
1659
  Enabled: true
1660
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#trivial-ternary
1441
1661
 
1442
1662
  Style/OpenStructUse:
1443
1663
  Enabled: false
1444
1664
 
1665
+ Style/OperatorMethodCall:
1666
+ Enabled: true
1667
+
1445
1668
  Style/OptionHash:
1446
1669
  Enabled: false
1447
1670
 
@@ -1450,6 +1673,7 @@ Style/OptionalArguments:
1450
1673
 
1451
1674
  Style/OptionalBooleanParameter:
1452
1675
  Enabled: false
1676
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#keyword-arguments
1453
1677
 
1454
1678
  Style/OrAssignment:
1455
1679
  Enabled: true
@@ -1462,6 +1686,10 @@ Style/ParallelAssignment:
1462
1686
 
1463
1687
  Style/ParenthesesAroundCondition:
1464
1688
  Enabled: false
1689
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-parens-if-unless-while
1690
+
1691
+ Style/PartitionInsteadOfDoubleSelect:
1692
+ Enabled: false
1465
1693
 
1466
1694
  Style/PercentLiteralDelimiters:
1467
1695
  Enabled: false
@@ -1472,6 +1700,9 @@ Style/PercentQLiterals:
1472
1700
  Style/PerlBackrefs:
1473
1701
  Enabled: false
1474
1702
 
1703
+ Style/PredicateWithKind:
1704
+ Enabled: false
1705
+
1475
1706
  Style/PreferredHashMethods:
1476
1707
  Enabled: false
1477
1708
 
@@ -1487,9 +1718,18 @@ Style/RaiseArgs:
1487
1718
  Style/RandomWithOffset:
1488
1719
  Enabled: false
1489
1720
 
1721
+ Style/ReduceToHash:
1722
+ Enabled: false
1723
+
1490
1724
  Style/RedundantArgument:
1491
1725
  Enabled: false
1492
1726
 
1727
+ Style/RedundantArrayConstructor:
1728
+ Enabled: true
1729
+
1730
+ Style/RedundantArrayFlatten:
1731
+ Enabled: true
1732
+
1493
1733
  Style/RedundantAssignment:
1494
1734
  Enabled: false
1495
1735
 
@@ -1505,6 +1745,18 @@ Style/RedundantCondition:
1505
1745
  Style/RedundantConditional:
1506
1746
  Enabled: false
1507
1747
 
1748
+ Style/RedundantConstantBase:
1749
+ Enabled: false
1750
+
1751
+ Style/RedundantCurrentDirectoryInPath:
1752
+ Enabled: false
1753
+
1754
+ Style/RedundantDoubleSplatHashBraces:
1755
+ Enabled: false
1756
+
1757
+ Style/RedundantEach:
1758
+ Enabled: true
1759
+
1508
1760
  Style/RedundantException:
1509
1761
  Enabled: false
1510
1762
 
@@ -1514,24 +1766,48 @@ Style/RedundantFetchBlock:
1514
1766
  Style/RedundantFileExtensionInRequire:
1515
1767
  Enabled: false
1516
1768
 
1769
+ Style/RedundantFilterChain:
1770
+ Enabled: true
1771
+
1772
+ Style/RedundantFormat:
1773
+ Enabled: true
1774
+
1517
1775
  Style/RedundantFreeze:
1518
1776
  Enabled: false
1519
1777
 
1778
+ Style/RedundantHeredocDelimiterQuotes:
1779
+ Enabled: false
1780
+
1520
1781
  Style/RedundantInitialize:
1521
1782
  Enabled: false
1522
1783
 
1523
1784
  Style/RedundantInterpolation:
1524
1785
  Enabled: false
1525
1786
 
1787
+ Style/RedundantInterpolationUnfreeze:
1788
+ Enabled: true
1789
+
1790
+ Style/RedundantLineContinuation:
1791
+ Enabled: false
1792
+
1793
+ Style/RedundantMinMaxBy:
1794
+ Enabled: true
1795
+
1526
1796
  Style/RedundantParentheses:
1527
1797
  Enabled: false
1528
1798
 
1529
1799
  Style/RedundantPercentQ:
1530
1800
  Enabled: false
1531
1801
 
1802
+ Style/RedundantRegexpArgument:
1803
+ Enabled: false
1804
+
1532
1805
  Style/RedundantRegexpCharacterClass:
1533
1806
  Enabled: false
1534
1807
 
1808
+ Style/RedundantRegexpConstructor:
1809
+ Enabled: true
1810
+
1535
1811
  Style/RedundantRegexpEscape:
1536
1812
  Enabled: false
1537
1813
 
@@ -1556,6 +1832,9 @@ Style/RedundantSort:
1556
1832
  Style/RedundantSortBy:
1557
1833
  Enabled: true
1558
1834
 
1835
+ Style/RedundantStringEscape:
1836
+ Enabled: false
1837
+
1559
1838
  Style/RegexpLiteral:
1560
1839
  Enabled: false
1561
1840
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#percent-r-regular-expressions
@@ -1569,12 +1848,27 @@ Style/RescueStandardError:
1569
1848
  Style/ReturnNil:
1570
1849
  Enabled: false
1571
1850
 
1851
+ Style/ReturnNilInPredicateMethodDefinition:
1852
+ Enabled: false
1853
+
1854
+ Style/ReverseFind:
1855
+ Enabled: true
1856
+
1572
1857
  Style/SafeNavigation:
1573
1858
  Enabled: false
1574
1859
 
1860
+ Style/SafeNavigationChainLength:
1861
+ Enabled: false
1862
+
1575
1863
  Style/Sample:
1576
1864
  Enabled: true
1577
1865
 
1866
+ Style/SelectByKind:
1867
+ Enabled: false
1868
+
1869
+ Style/SelectByRange:
1870
+ Enabled: true
1871
+
1578
1872
  Style/SelectByRegexp:
1579
1873
  Enabled: false
1580
1874
 
@@ -1588,6 +1882,9 @@ Style/Send:
1588
1882
  Enabled: false
1589
1883
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#avoid-send
1590
1884
 
1885
+ Style/SendWithLiteralMethodName:
1886
+ Enabled: false
1887
+
1591
1888
  Style/SignalException:
1592
1889
  Enabled: false
1593
1890
 
@@ -1597,6 +1894,9 @@ Style/SingleArgumentDig:
1597
1894
  Style/SingleLineBlockParams:
1598
1895
  Enabled: false
1599
1896
 
1897
+ Style/SingleLineDoEndBlock:
1898
+ Enabled: true
1899
+
1600
1900
  Style/SingleLineMethods:
1601
1901
  Enabled: false
1602
1902
 
@@ -1624,6 +1924,7 @@ Style/StringChars:
1624
1924
 
1625
1925
  Style/StringConcatenation:
1626
1926
  Enabled: false
1927
+ StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#string-interpolation
1627
1928
 
1628
1929
  Style/StringHashKeys:
1629
1930
  Enabled: false
@@ -1645,6 +1946,12 @@ Style/Strip:
1645
1946
  Style/StructInheritance:
1646
1947
  Enabled: false
1647
1948
 
1949
+ Style/SuperArguments:
1950
+ Enabled: false
1951
+
1952
+ Style/SuperWithArgsParentheses:
1953
+ Enabled: false
1954
+
1648
1955
  Style/SwapValues:
1649
1956
  Enabled: false
1650
1957
 
@@ -1657,9 +1964,15 @@ Style/SymbolLiteral:
1657
1964
  Style/SymbolProc:
1658
1965
  Enabled: false
1659
1966
 
1967
+ Style/TallyMethod:
1968
+ Enabled: true
1969
+
1660
1970
  Style/TernaryParentheses:
1661
1971
  Enabled: false
1662
1972
 
1973
+ Style/TimeNow:
1974
+ Enabled: true
1975
+
1663
1976
  Style/TopLevelMethodDefinition:
1664
1977
  Enabled: false
1665
1978
 
@@ -1721,6 +2034,9 @@ Style/WordArray:
1721
2034
  Enabled: false
1722
2035
  StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#percent-w
1723
2036
 
2037
+ Style/YAMLFileRead:
2038
+ Enabled: true
2039
+
1724
2040
  Style/YodaCondition:
1725
2041
  Enabled: false
1726
2042