File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Sources/SwiftFormat/Rules Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -85,26 +85,6 @@ public final class AlwaysUseLowerCamelCase: SyntaxLintRule {
8585 secondName, allowUnderscores: false , description: identifierDescription ( for: node) )
8686 }
8787 }
88- } else if let parameterClause = input. as ( EnumCaseParameterClauseSyntax . self) {
89- for param in parameterClause. parameters {
90- if let firstName = param. firstName {
91- diagnoseLowerCamelCaseViolations (
92- firstName, allowUnderscores: false , description: identifierDescription ( for: node) )
93- }
94- if let secondName = param. secondName {
95- diagnoseLowerCamelCaseViolations (
96- secondName, allowUnderscores: false , description: identifierDescription ( for: node) )
97- }
98- }
99- } else if let parameterClause = input. as ( FunctionParameterClauseSyntax . self) {
100- for param in parameterClause. parameters {
101- diagnoseLowerCamelCaseViolations (
102- param. firstName, allowUnderscores: false , description: identifierDescription ( for: node) )
103- if let secondName = param. secondName {
104- diagnoseLowerCamelCaseViolations (
105- secondName, allowUnderscores: false , description: identifierDescription ( for: node) )
106- }
107- }
10888 }
10989 }
11090 return . visitChildren
You can’t perform that action at this time.
0 commit comments