Skip to content

Use gitlab-styles which provides shared RuboCop config and cops

username-removed-128633 requested to merge rc/use-gitlab-styles into master

What does this MR do?

This uses https://gitlab.com/gitlab-org/gitlab-styles which includes a shared RuboCop config and custom cops that can be reused by multiple projects.

Will allow to solve #37711.

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

We can still define custom cops as before, and regularly migrate them to the gem if this is more practical (or for testing/debugging purpose).

Why was this MR needed?

So that we can avoid duplicating our RuboCop config and custop cops.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports