Skip to content
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

Disable Style/ReturnNilInPredicateMethodDefinition #116

Merged

Conversation

stephenbinns
Copy link
Contributor

Some of our legacy code relies on returning nil from predicate methods to indicate things such as missing values, so this would be changing behaviour

https://docs.rubocop.org/rubocop/cops_style.html#stylereturnnilinpredicatemethoddefinition

Some of our legacy code relies on returning nil from predicate methods to
indicate things such as missing values, so this would be changing behaviour

https://docs.rubocop.org/rubocop/cops_style.html#stylereturnnilinpredicatemethoddefinition
@stephenbinns stephenbinns merged commit b2d608d into master Aug 2, 2023
@stephenbinns stephenbinns deleted the Disable-Style/ReturnNilInPredicateMethodDefinition branch August 2, 2023 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants