Skip to content

Adds Rubocop ReturnNil cop

Andrew Newdigate requested to merge add-rubocop-return-nil-style into master

What does this MR do?

Adds the ReturnNil rubocop style check.

EE Companion is https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9867

If, after this is merged and rebased into your branch, you're seeing errors, you can fix them with

bundle exec rubocop . --only "Style/ReturnNil"  --auto-correct

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57454

Does this MR meet the acceptance criteria?

Edited by Andrew Newdigate

Merge request reports