Skip to content

EE: Resolve "Make a Rubocop that forbids returning from a block"

Lin Jen-Shin requested to merge 42889-avoid-return-inside-block-ee into master

What does this MR do?

This is going to serve as the EE counterpart of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18000

Are there points in the code the reviewer needs to double check?

I'll pick all other CE changes after it's done

Why was this MR needed?

Make sure EE won't complain after that is merged

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

  • Tests added for this feature/bug
  • Review
    • Has been reviewed by Backend
Edited by Rémy Coutable

Merge request reports