Shared naming conventions allow teams to collaborate efficiently. This rule checks that all enum
names match a provided regular
expression.
Noncompliant code example
With default provided regular expression: ^[A-Z][a-zA-Z0-9]*
enum someEnumeration { // Non-Compliant
case Bar
}
Compliant solution
enum SomeEnumeration {
case Bar
}