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 {
85
85
secondName, allowUnderscores: false , description: identifierDescription ( for: node) )
86
86
}
87
87
}
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
- }
108
88
}
109
89
}
110
90
return . visitChildren
You can’t perform that action at this time.
0 commit comments