@@ -76,7 +76,6 @@ class LintPipeline: SyntaxVisitor {
7676 visitIfEnabled ( AllPublicDeclarationsHaveDocumentation . visit, for: node)
7777 visitIfEnabled ( AlwaysUseLowerCamelCase . visit, for: node)
7878 visitIfEnabled ( BeginDocumentationCommentWithOneLineSummary . visit, for: node)
79- visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
8079 visitIfEnabled ( NoLeadingUnderscores . visit, for: node)
8180 visitIfEnabled ( TypeNamesShouldBeCapitalized . visit, for: node)
8281 visitIfEnabled ( UseTripleSlashForDocumentationComments . visit, for: node)
@@ -86,7 +85,6 @@ class LintPipeline: SyntaxVisitor {
8685 onVisitPost ( rule: AllPublicDeclarationsHaveDocumentation . self, for: node)
8786 onVisitPost ( rule: AlwaysUseLowerCamelCase . self, for: node)
8887 onVisitPost ( rule: BeginDocumentationCommentWithOneLineSummary . self, for: node)
89- onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
9088 onVisitPost ( rule: NoLeadingUnderscores . self, for: node)
9189 onVisitPost ( rule: TypeNamesShouldBeCapitalized . self, for: node)
9290 onVisitPost ( rule: UseTripleSlashForDocumentationComments . self, for: node)
@@ -182,7 +180,6 @@ class LintPipeline: SyntaxVisitor {
182180
183181 override func visit( _ node: EnumDeclSyntax ) -> SyntaxVisitorContinueKind {
184182 visitIfEnabled ( BeginDocumentationCommentWithOneLineSummary . visit, for: node)
185- visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
186183 visitIfEnabled ( FullyIndirectEnum . visit, for: node)
187184 visitIfEnabled ( NoLeadingUnderscores . visit, for: node)
188185 visitIfEnabled ( OneCasePerLine . visit, for: node)
@@ -192,7 +189,6 @@ class LintPipeline: SyntaxVisitor {
192189 }
193190 override func visitPost( _ node: EnumDeclSyntax ) {
194191 onVisitPost ( rule: BeginDocumentationCommentWithOneLineSummary . self, for: node)
195- onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
196192 onVisitPost ( rule: FullyIndirectEnum . self, for: node)
197193 onVisitPost ( rule: NoLeadingUnderscores . self, for: node)
198194 onVisitPost ( rule: OneCasePerLine . self, for: node)
@@ -202,14 +198,12 @@ class LintPipeline: SyntaxVisitor {
202198
203199 override func visit( _ node: ExtensionDeclSyntax ) -> SyntaxVisitorContinueKind {
204200 visitIfEnabled ( AvoidRetroactiveConformances . visit, for: node)
205- visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
206201 visitIfEnabled ( NoAccessLevelOnExtensionDeclaration . visit, for: node)
207202 visitIfEnabled ( UseTripleSlashForDocumentationComments . visit, for: node)
208203 return . visitChildren
209204 }
210205 override func visitPost( _ node: ExtensionDeclSyntax ) {
211206 onVisitPost ( rule: AvoidRetroactiveConformances . self, for: node)
212- onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
213207 onVisitPost ( rule: NoAccessLevelOnExtensionDeclaration . self, for: node)
214208 onVisitPost ( rule: UseTripleSlashForDocumentationComments . self, for: node)
215209 }
@@ -423,7 +417,6 @@ class LintPipeline: SyntaxVisitor {
423417 override func visit( _ node: ProtocolDeclSyntax ) -> SyntaxVisitorContinueKind {
424418 visitIfEnabled ( AllPublicDeclarationsHaveDocumentation . visit, for: node)
425419 visitIfEnabled ( BeginDocumentationCommentWithOneLineSummary . visit, for: node)
426- visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
427420 visitIfEnabled ( NoLeadingUnderscores . visit, for: node)
428421 visitIfEnabled ( TypeNamesShouldBeCapitalized . visit, for: node)
429422 visitIfEnabled ( UseTripleSlashForDocumentationComments . visit, for: node)
@@ -432,7 +425,6 @@ class LintPipeline: SyntaxVisitor {
432425 override func visitPost( _ node: ProtocolDeclSyntax ) {
433426 onVisitPost ( rule: AllPublicDeclarationsHaveDocumentation . self, for: node)
434427 onVisitPost ( rule: BeginDocumentationCommentWithOneLineSummary . self, for: node)
435- onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
436428 onVisitPost ( rule: NoLeadingUnderscores . self, for: node)
437429 onVisitPost ( rule: TypeNamesShouldBeCapitalized . self, for: node)
438430 onVisitPost ( rule: UseTripleSlashForDocumentationComments . self, for: node)
@@ -469,7 +461,6 @@ class LintPipeline: SyntaxVisitor {
469461 override func visit( _ node: StructDeclSyntax ) -> SyntaxVisitorContinueKind {
470462 visitIfEnabled ( AllPublicDeclarationsHaveDocumentation . visit, for: node)
471463 visitIfEnabled ( BeginDocumentationCommentWithOneLineSummary . visit, for: node)
472- visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
473464 visitIfEnabled ( NoLeadingUnderscores . visit, for: node)
474465 visitIfEnabled ( TypeNamesShouldBeCapitalized . visit, for: node)
475466 visitIfEnabled ( UseSynthesizedInitializer . visit, for: node)
@@ -479,7 +470,6 @@ class LintPipeline: SyntaxVisitor {
479470 override func visitPost( _ node: StructDeclSyntax ) {
480471 onVisitPost ( rule: AllPublicDeclarationsHaveDocumentation . self, for: node)
481472 onVisitPost ( rule: BeginDocumentationCommentWithOneLineSummary . self, for: node)
482- onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
483473 onVisitPost ( rule: NoLeadingUnderscores . self, for: node)
484474 onVisitPost ( rule: TypeNamesShouldBeCapitalized . self, for: node)
485475 onVisitPost ( rule: UseSynthesizedInitializer . self, for: node)
@@ -568,6 +558,7 @@ class LintPipeline: SyntaxVisitor {
568558 visitIfEnabled ( AllPublicDeclarationsHaveDocumentation . visit, for: node)
569559 visitIfEnabled ( AlwaysUseLowerCamelCase . visit, for: node)
570560 visitIfEnabled ( BeginDocumentationCommentWithOneLineSummary . visit, for: node)
561+ visitIfEnabled ( DontRepeatTypeInStaticProperties . visit, for: node)
571562 visitIfEnabled ( NeverUseImplicitlyUnwrappedOptionals . visit, for: node)
572563 visitIfEnabled ( UseTripleSlashForDocumentationComments . visit, for: node)
573564 return . visitChildren
@@ -576,6 +567,7 @@ class LintPipeline: SyntaxVisitor {
576567 onVisitPost ( rule: AllPublicDeclarationsHaveDocumentation . self, for: node)
577568 onVisitPost ( rule: AlwaysUseLowerCamelCase . self, for: node)
578569 onVisitPost ( rule: BeginDocumentationCommentWithOneLineSummary . self, for: node)
570+ onVisitPost ( rule: DontRepeatTypeInStaticProperties . self, for: node)
579571 onVisitPost ( rule: NeverUseImplicitlyUnwrappedOptionals . self, for: node)
580572 onVisitPost ( rule: UseTripleSlashForDocumentationComments . self, for: node)
581573 }
0 commit comments