Accept variable names starting with more than one capital letter in Variable Name Rule #566
Labels
enhancement
Ideas for improvements of existing features and rules.
good first issue
Issue to be taken up by new contributors yet unfamiliar with the project.
Consider the following variable names
Those would be considered a violation because they start with an uppercase letter, but in those examples they are abbreviations which would be valid.
I know those can be excluded manually, but I don't think it is necessary. Those cases could be detected if the 2nd character is also upper case and contains only alphanumeric characters (thus eliminating cases such as
MY_CONST
)I'm using swiftlint version
0.9.1
The text was updated successfully, but these errors were encountered: