-
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
Improved identifier_name
documentation
#4784
Improved identifier_name
documentation
#4784
Conversation
Generated by 🚫 Danger |
What do you mean by that? Static variables cannot be declared outside of a type. |
Thank you for the fix! |
In actual swift code, yep, but if you provide it as an Example, but not wrapped in a class, it shows up as a |
Resolves #4767
I added a few more examples, and removed the reference to
immutable
in the documentation.It still does seem a bit weird that
static let Bar = 0
(outside a class) will trigger the identifier_name rule, but thatDoes not.