Fix rubocop offence for Style/ClassAndModuleChildrenNested for PushRule controllers

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

We have 3 offences for PushRule controllers relating to namespace nesting.

https://gitlab.com/gitlab-org/gitlab/-/blob/399901149d67a2f33c623c55e07c273c2f152cfe/.rubocop_todo/style/class_and_module_children.yml#L356

https://gitlab.com/gitlab-org/gitlab/-/blob/399901149d67a2f33c623c55e07c273c2f152cfe/.rubocop_todo/style/class_and_module_children.yml#L390

https://gitlab.com/gitlab-org/gitlab/-/blob/399901149d67a2f33c623c55e07c273c2f152cfe/.rubocop_todo/style/class_and_module_children.yml#L414

Edited Sep 22, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading