-
Notifications
You must be signed in to change notification settings - Fork 206
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
member variable names are not checked #112
Comments
Is there a reason we would not want this? A simple fix I found would be to add
at the end of In which case these would get reported as N806, but not sure if this should be a different error code. |
The problem is that if the member is part of another library's API, e.g. |
I would like this as well. @5j9 I understand your concern about this being possibly out of your control, but would it be possible to add this as an opt-in check ? I tried the same solution as @jauerb on a relatively large codebase at my company and we have no out-of-our-control false positive, so adding this as an opt-in would be useful for us. I started working on patch here, would be happy to make it opt-in if there is a way to do that. |
We would also enjoy to this at our company. |
It's possible to have this such that it's disabled by default. A template to follow is in #157 |
Thanks for the help @sigmavirus24 , should I name it N819? |
I generally think that the error codes should be better grouped (I didn't check this for
|
member variables are not checked for compliance with naming conventions
No warnings are created for improperly named member variables like self.someVariable
The text was updated successfully, but these errors were encountered: