Rephrase rule description (#4686)
"Can't" sounds too hard. The Swift compiler allows multiple enum cases with the same name. It's rather a recommendation.
This commit is contained in:
parent
693e504258
commit
78c9ad6f33
|
@ -8,7 +8,7 @@ struct DuplicateEnumCasesRule: ConfigurationProviderRule, SwiftSyntaxRule {
|
|||
static let description = RuleDescription(
|
||||
identifier: "duplicate_enum_cases",
|
||||
name: "Duplicate Enum Cases",
|
||||
description: "Enum can't contain multiple cases with the same name",
|
||||
description: "Enum shouldn't contain multiple cases with the same name",
|
||||
kind: .lint,
|
||||
nonTriggeringExamples: [
|
||||
Example("""
|
||||
|
|
Loading…
Reference in New Issue