@@ -76,7 +76,6 @@ class LintPipeline: SyntaxVisitor {
76
76
visitIfEnabled ( AllPublicDeclarationsHaveDocumentation . visit, for: node)
77
77
visitIfEnabled ( AlwaysUseLowerCamelCase . visit, for: node)
78
78
visitIfEnabled ( BeginDocumentationCommentWithOneLineSummary . visit, for: node)
79
- visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
80
79
visitIfEnabled ( NoLeadingUnderscores . visit, for: node)
81
80
visitIfEnabled ( TypeNamesShouldBeCapitalized . visit, for: node)
82
81
visitIfEnabled ( UseTripleSlashForDocumentationComments . visit, for: node)
@@ -86,7 +85,6 @@ class LintPipeline: SyntaxVisitor {
86
85
onVisitPost ( rule: AllPublicDeclarationsHaveDocumentation . self, for: node)
87
86
onVisitPost ( rule: AlwaysUseLowerCamelCase . self, for: node)
88
87
onVisitPost ( rule: BeginDocumentationCommentWithOneLineSummary . self, for: node)
89
- onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
90
88
onVisitPost ( rule: NoLeadingUnderscores . self, for: node)
91
89
onVisitPost ( rule: TypeNamesShouldBeCapitalized . self, for: node)
92
90
onVisitPost ( rule: UseTripleSlashForDocumentationComments . self, for: node)
@@ -182,7 +180,6 @@ class LintPipeline: SyntaxVisitor {
182
180
183
181
override func visit( _ node: EnumDeclSyntax ) -> SyntaxVisitorContinueKind {
184
182
visitIfEnabled ( BeginDocumentationCommentWithOneLineSummary . visit, for: node)
185
- visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
186
183
visitIfEnabled ( FullyIndirectEnum . visit, for: node)
187
184
visitIfEnabled ( NoLeadingUnderscores . visit, for: node)
188
185
visitIfEnabled ( OneCasePerLine . visit, for: node)
@@ -192,7 +189,6 @@ class LintPipeline: SyntaxVisitor {
192
189
}
193
190
override func visitPost( _ node: EnumDeclSyntax ) {
194
191
onVisitPost ( rule: BeginDocumentationCommentWithOneLineSummary . self, for: node)
195
- onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
196
192
onVisitPost ( rule: FullyIndirectEnum . self, for: node)
197
193
onVisitPost ( rule: NoLeadingUnderscores . self, for: node)
198
194
onVisitPost ( rule: OneCasePerLine . self, for: node)
@@ -202,14 +198,12 @@ class LintPipeline: SyntaxVisitor {
202
198
203
199
override func visit( _ node: ExtensionDeclSyntax ) -> SyntaxVisitorContinueKind {
204
200
visitIfEnabled ( AvoidRetroactiveConformances . visit, for: node)
205
- visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
206
201
visitIfEnabled ( NoAccessLevelOnExtensionDeclaration . visit, for: node)
207
202
visitIfEnabled ( UseTripleSlashForDocumentationComments . visit, for: node)
208
203
return . visitChildren
209
204
}
210
205
override func visitPost( _ node: ExtensionDeclSyntax ) {
211
206
onVisitPost ( rule: AvoidRetroactiveConformances . self, for: node)
212
- onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
213
207
onVisitPost ( rule: NoAccessLevelOnExtensionDeclaration . self, for: node)
214
208
onVisitPost ( rule: UseTripleSlashForDocumentationComments . self, for: node)
215
209
}
@@ -423,7 +417,6 @@ class LintPipeline: SyntaxVisitor {
423
417
override func visit( _ node: ProtocolDeclSyntax ) -> SyntaxVisitorContinueKind {
424
418
visitIfEnabled ( AllPublicDeclarationsHaveDocumentation . visit, for: node)
425
419
visitIfEnabled ( BeginDocumentationCommentWithOneLineSummary . visit, for: node)
426
- visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
427
420
visitIfEnabled ( NoLeadingUnderscores . visit, for: node)
428
421
visitIfEnabled ( TypeNamesShouldBeCapitalized . visit, for: node)
429
422
visitIfEnabled ( UseTripleSlashForDocumentationComments . visit, for: node)
@@ -432,7 +425,6 @@ class LintPipeline: SyntaxVisitor {
432
425
override func visitPost( _ node: ProtocolDeclSyntax ) {
433
426
onVisitPost ( rule: AllPublicDeclarationsHaveDocumentation . self, for: node)
434
427
onVisitPost ( rule: BeginDocumentationCommentWithOneLineSummary . self, for: node)
435
- onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
436
428
onVisitPost ( rule: NoLeadingUnderscores . self, for: node)
437
429
onVisitPost ( rule: TypeNamesShouldBeCapitalized . self, for: node)
438
430
onVisitPost ( rule: UseTripleSlashForDocumentationComments . self, for: node)
@@ -469,7 +461,6 @@ class LintPipeline: SyntaxVisitor {
469
461
override func visit( _ node: StructDeclSyntax ) -> SyntaxVisitorContinueKind {
470
462
visitIfEnabled ( AllPublicDeclarationsHaveDocumentation . visit, for: node)
471
463
visitIfEnabled ( BeginDocumentationCommentWithOneLineSummary . visit, for: node)
472
- visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
473
464
visitIfEnabled ( NoLeadingUnderscores . visit, for: node)
474
465
visitIfEnabled ( TypeNamesShouldBeCapitalized . visit, for: node)
475
466
visitIfEnabled ( UseSynthesizedInitializer . visit, for: node)
@@ -479,7 +470,6 @@ class LintPipeline: SyntaxVisitor {
479
470
override func visitPost( _ node: StructDeclSyntax ) {
480
471
onVisitPost ( rule: AllPublicDeclarationsHaveDocumentation . self, for: node)
481
472
onVisitPost ( rule: BeginDocumentationCommentWithOneLineSummary . self, for: node)
482
- onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
483
473
onVisitPost ( rule: NoLeadingUnderscores . self, for: node)
484
474
onVisitPost ( rule: TypeNamesShouldBeCapitalized . self, for: node)
485
475
onVisitPost ( rule: UseSynthesizedInitializer . self, for: node)
@@ -568,6 +558,7 @@ class LintPipeline: SyntaxVisitor {
568
558
visitIfEnabled ( AllPublicDeclarationsHaveDocumentation . visit, for: node)
569
559
visitIfEnabled ( AlwaysUseLowerCamelCase . visit, for: node)
570
560
visitIfEnabled ( BeginDocumentationCommentWithOneLineSummary . visit, for: node)
561
+ visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
571
562
visitIfEnabled ( NeverUseImplicitlyUnwrappedOptionals . visit, for: node)
572
563
visitIfEnabled ( UseTripleSlashForDocumentationComments . visit, for: node)
573
564
return . visitChildren
@@ -576,6 +567,7 @@ class LintPipeline: SyntaxVisitor {
576
567
onVisitPost ( rule: AllPublicDeclarationsHaveDocumentation . self, for: node)
577
568
onVisitPost ( rule: AlwaysUseLowerCamelCase . self, for: node)
578
569
onVisitPost ( rule: BeginDocumentationCommentWithOneLineSummary . self, for: node)
570
+ onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
579
571
onVisitPost ( rule: NeverUseImplicitlyUnwrappedOptionals . self, for: node)
580
572
onVisitPost ( rule: UseTripleSlashForDocumentationComments . self, for: node)
581
573
}
0 commit comments