Skip to content

RuboCop: Enable cops Layout/ArgumentAlignment and Layout/HashAlignment

What does this MR do and why?

This MR enables 👮 Layout/ArgumentAlignment and Layout/HashAlignment at the same time because they depend on each other.

Both cop rules are now in "grace period" as part of https://docs.gitlab.com/ee/development/rubocop_development_guide.html#enabling-a-new-cop.

#386618 (comment 1254158791)

Closes #386618 (closed)

Also closes #369268 (closed) 🎉

How to set up and validate locally

bin/rake rubocop:todo:generate[Layout/ArgumentAlignment,Layout/HashAlignment]

MR acceptance checklist

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

Related to #369268 (closed)

Edited by Peter Leitzen

Merge request reports