-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
New return nil cop #4508
Comments
This cop should be configurable to support the implicit |
Hey, I'd like to try and submit a PR for it |
#4638 |
I can see why some people would want to make this uniform, but I for instance always use |
return
andreturn nil
are the same thing, soreturn nil
should be avoided. A new cop to check this would be great! 😉The text was updated successfully, but these errors were encountered: