-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude enum cases from type_name rule #655
Comments
I'm not sure about this. Potentially some default exceptions should be added for common two-letter words ( |
as of #660, we allow lowercase names for enum cases. |
The
type_name
rule is currently being applied to enum cases. While the capital and alphanumerical requirements apply perfectly to enum cases, the minimum length may not. Examples likeDirection.Up
,Sixe.XL
,Cardinal.SW
should be allowed, and it feels cumbersome to add all these exceptions to the.swiflint.yml
The text was updated successfully, but these errors were encountered: