Move push_rule.rb
into the Repositories
namespace
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Context
The following discussion from !54113 (merged) should be addressed:
-
@pslaughter started a discussion: Why did we add this to
rubocop_manual_todo.yml
?Without this, rubocop fails with:
The
declarative_policy.rb
module tries to resolve this policy class dynamically. For it to do so, the policy class needs to be in the same namespace as the corresponding class. I tried moving it into it's own namespace and usedeclarative_policy_class
onpush_rule.rb
, but this also didn't work for me😬
Edited by 🤖 GitLab Bot 🤖