Skip to content

Adds the Rubocop ReturnNil cop

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

What does this MR do?

Adds the ReturnNil rubocop style check.

This is the EE companion to https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25034/

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 🤖 GitLab Bot 🤖

Merge request reports

Loading