Skip to content

Run RuboCop testing in pipelines and commit hooks

Evan Read requested to merge eread/run-rubocop-testing into main

What does this MR do and why?

To keep Ruby code quality high, we should run RuboCop on MRs in this project. We've worked to remove lots of violations, so now we can turn RuboCop on for Git hooks and CI/CD pipelines.

Screenshots, screen recordings, or links to review app

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/setup.md.
  2. Check out this branch.
  3. Run bundle exec rake clone_repositories. (probably in a test directory).

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Evan Read

Merge request reports