Skip to content

Commit e81d0f6

Browse files
committed
Add some more styleguide links
refs #133
1 parent ed60d2b commit e81d0f6

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

config/default.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ GitHub/InsecureHashAlgorithm:
5555

5656
Layout/AccessModifierIndentation:
5757
Enabled: false
58+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#:~:text=methods%20as%20much%20the%20method%20definitions%20they%20apply%20to
5859

5960
Layout/ArgumentAlignment:
6061
Enabled: false
@@ -117,12 +118,14 @@ Layout/EmptyLineAfterMultilineCondition:
117118

118119
Layout/EmptyLineBetweenDefs:
119120
Enabled: false
121+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#empty-lines-def
120122

121123
Layout/EmptyLines:
122124
Enabled: false
123125

124126
Layout/EmptyLinesAroundAccessModifier:
125127
Enabled: false
128+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#access-modifier-identation
126129

127130
Layout/EmptyLinesAroundArguments:
128131
Enabled: false
@@ -354,6 +357,7 @@ Layout/SpaceInsideStringInterpolation:
354357

355358
Layout/TrailingEmptyLines:
356359
Enabled: true
360+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#newlines
357361

358362
Layout/TrailingWhitespace:
359363
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#trailing-whitespace
@@ -531,6 +535,7 @@ Lint/MissingSuper:
531535

532536
Lint/MixedRegexpCaptureTypes:
533537
Enabled: false
538+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#capture-with-named-groups
534539

535540
Lint/MultipleComparison:
536541
Enabled: false
@@ -793,9 +798,11 @@ Naming/BlockParameterName:
793798

794799
Naming/ClassAndModuleCamelCase:
795800
Enabled: true
801+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#naming
796802

797803
Naming/ConstantName:
798804
Enabled: false
805+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#naming
799806

800807
Naming/FileName:
801808
Enabled: true
@@ -826,6 +833,7 @@ Naming/RescuedExceptionsVariableName:
826833

827834
Naming/VariableName:
828835
Enabled: false
836+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#naming
829837

830838
Naming/VariableNumber:
831839
Enabled: false
@@ -1032,6 +1040,7 @@ Style/AutoResourceCleanup:
10321040

10331041
Style/BarePercentLiterals:
10341042
Enabled: false
1043+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#percent-literals
10351044

10361045
Style/BeginBlock:
10371046
Enabled: true
@@ -1044,10 +1053,11 @@ Style/BlockComments:
10441053

10451054
Style/BlockDelimiters:
10461055
Enabled: false
1056+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#syntax
10471057

10481058
Style/CaseEquality:
10491059
Enabled: true
1050-
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#type-checking-is-a-kind-of
1060+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#user-content-type-checking-is-a-kind-of
10511061

10521062
Style/CaseLikeIf:
10531063
Enabled: false
@@ -1306,6 +1316,7 @@ Style/MapToHash:
13061316

13071317
Style/MethodCallWithArgsParentheses:
13081318
Enabled: false
1319+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#parens-no-spaces
13091320

13101321
Style/MethodCallWithoutArgsParentheses:
13111322
Enabled: true
@@ -1372,6 +1383,7 @@ Style/NegatedIfElseCondition:
13721383

13731384
Style/NegatedUnless:
13741385
Enabled: true
1386+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#user-content-no-unless-negation
13751387

13761388
Style/NegatedWhile:
13771389
Enabled: false
@@ -1530,6 +1542,7 @@ Style/RedundantReturn:
15301542

15311543
Style/RedundantSelf:
15321544
Enabled: false
1545+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#self-messages
15331546

15341547
Style/RedundantSelfAssignment:
15351548
Enabled: false
@@ -1545,6 +1558,7 @@ Style/RedundantSortBy:
15451558

15461559
Style/RegexpLiteral:
15471560
Enabled: false
1561+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#percent-r-regular-expressions
15481562

15491563
Style/RescueModifier:
15501564
Enabled: false
@@ -1572,6 +1586,7 @@ Style/Semicolon:
15721586

15731587
Style/Send:
15741588
Enabled: false
1589+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#avoid-send
15751590

15761591
Style/SignalException:
15771592
Enabled: false
@@ -1593,6 +1608,7 @@ Style/SoleNestedConditional:
15931608

15941609
Style/SpecialGlobalVars:
15951610
Enabled: false
1611+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-cryptic-vars
15961612

15971613
Style/StabbyLambdaParentheses:
15981614
Enabled: true
@@ -1611,6 +1627,7 @@ Style/StringConcatenation:
16111627

16121628
Style/StringHashKeys:
16131629
Enabled: false
1630+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#symbols-as-keys
16141631

16151632
Style/StringLiterals:
16161633
EnforcedStyle: double_quotes
@@ -1699,8 +1716,10 @@ Style/WhileUntilDo:
16991716
Style/WhileUntilModifier:
17001717
Enabled: false
17011718

1719+
# TODO: Enable this since it's in the styleguide.
17021720
Style/WordArray:
17031721
Enabled: false
1722+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#percent-w
17041723

17051724
Style/YodaCondition:
17061725
Enabled: false

0 commit comments

Comments
 (0)