@@ -65,8 +65,10 @@ Layout/BlockAlignment:
65
65
Layout/BlockEndNewline :
66
66
Enabled : true
67
67
68
+ # TODO: Enable this since it's in the styleguide.
68
69
Layout/CaseIndentation :
69
70
Enabled : false
71
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#indent-when-as-start-of-case
70
72
71
73
Layout/ClassStructure :
72
74
Enabled : false
@@ -186,10 +188,12 @@ Layout/IndentationStyle:
186
188
Enabled : true
187
189
EnforcedStyle : spaces
188
190
IndentationWidth : 2
191
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#default-indentation
189
192
190
193
Layout/IndentationWidth :
191
194
Enabled : true
192
195
Width : 2
196
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#default-indentation
193
197
194
198
Layout/InitialIndentation :
195
199
Enabled : true
@@ -259,9 +263,11 @@ Layout/SingleLineBlockChain:
259
263
260
264
Layout/SpaceAfterColon :
261
265
Enabled : true
266
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-operators
262
267
263
268
Layout/SpaceAfterComma :
264
269
Enabled : true
270
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-operators
265
271
266
272
Layout/SpaceAfterMethodName :
267
273
Enabled : true
@@ -271,12 +277,14 @@ Layout/SpaceAfterNot:
271
277
272
278
Layout/SpaceAfterSemicolon :
273
279
Enabled : true
280
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-operators
274
281
275
282
Layout/SpaceAroundBlockParameters :
276
283
Enabled : true
277
284
278
285
Layout/SpaceAroundEqualsInParameterDefault :
279
286
Enabled : true
287
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-around-equals
280
288
281
289
Layout/SpaceAroundKeyword :
282
290
Enabled : false
@@ -311,6 +319,7 @@ Layout/SpaceInLambdaLiteral:
311
319
Layout/SpaceInsideArrayLiteralBrackets :
312
320
Enabled : true
313
321
EnforcedStyle : no_space
322
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-spaces-braces
314
323
315
324
Layout/SpaceInsideArrayPercentLiteral :
316
325
Enabled : true
@@ -341,6 +350,7 @@ Layout/TrailingEmptyLines:
341
350
342
351
Layout/TrailingWhitespace :
343
352
Enabled : true
353
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#trailing-whitespace
344
354
345
355
Lint/AmbiguousAssignment :
346
356
Enabled : false
@@ -678,8 +688,10 @@ Lint/UnreachableCode:
678
688
Lint/UnreachableLoop :
679
689
Enabled : false
680
690
691
+ # TODO: Enable this since it's in the styleguide.
681
692
Lint/UnusedBlockArgument :
682
693
Enabled : false
694
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#spaces-around-equals
683
695
684
696
Lint/UnusedMethodArgument :
685
697
Enabled : false
@@ -976,8 +988,10 @@ Style/AccessorGrouping:
976
988
Style/Alias :
977
989
Enabled : false
978
990
991
+ # TODO: Enable this since it's in the styleguide.
979
992
Style/AndOr :
980
993
Enabled : false
994
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-and-or-or
981
995
982
996
Style/ArgumentsForwarding :
983
997
Enabled : false
@@ -1077,6 +1091,7 @@ Style/DateTime:
1077
1091
1078
1092
Style/DefWithParentheses :
1079
1093
Enabled : true
1094
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#method-parens-when-arguments
1080
1095
1081
1096
Style/Dir :
1082
1097
Enabled : false
@@ -1164,6 +1179,7 @@ Style/FloatDivision:
1164
1179
1165
1180
Style/For :
1166
1181
Enabled : true
1182
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#avoid-for
1167
1183
1168
1184
Style/FormatString :
1169
1185
Enabled : false
@@ -1201,6 +1217,7 @@ Style/HashLikeCase:
1201
1217
Style/HashSyntax :
1202
1218
Enabled : true
1203
1219
EnforcedStyle : ruby19_no_mixed_keys
1220
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#symbols-as-keys
1204
1221
1205
1222
Style/HashTransformKeys :
1206
1223
Enabled : false
@@ -1300,6 +1317,7 @@ Style/MultilineIfModifier:
1300
1317
1301
1318
Style/MultilineIfThen :
1302
1319
Enabled : true
1320
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-then-for-multi-line-if-unless
1303
1321
1304
1322
Style/MultilineInPatternThen :
1305
1323
Enabled : false
@@ -1475,8 +1493,10 @@ Style/RedundantRegexpCharacterClass:
1475
1493
Style/RedundantRegexpEscape :
1476
1494
Enabled : false
1477
1495
1496
+ # TODO: Enable this since it's in the styleguide.
1478
1497
Style/RedundantReturn :
1479
1498
Enabled : false
1499
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#avoid-return
1480
1500
1481
1501
Style/RedundantSelf :
1482
1502
Enabled : false
@@ -1626,8 +1646,10 @@ Style/TrailingUnderscoreVariable:
1626
1646
Style/TrivialAccessors :
1627
1647
Enabled : false
1628
1648
1649
+ # TODO: Enable this since it's in the styleguide.
1629
1650
Style/UnlessElse :
1630
1651
Enabled : false
1652
+ StyleGuide : https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-else-with-unless
1631
1653
1632
1654
Style/UnlessLogicalOperators :
1633
1655
Enabled : false
0 commit comments