Disable CodeReuse/ActiveRecord RuboCop cop
What does this MR do?
This MR disables the CodeReuse/ActiveRecord RuboCop cop by setting Enabled: false in rubocop/rubocop-code_reuse.yml.
Why?
As discussed in #388971, this cop has several fundamental issues:
- Unclear definitions - The abstraction level definitions are confusing and contradictory
- Prevents scope reuse - Despite scopes being allowed per the original intent, the cop doesn't warn against their use
- Doesn't check for described offenses - The cop fails to catch actual violations it was designed to prevent
- Incomplete implementation - The original guidelines from the 2018 issue were never fully implemented
-
Widely disabled - The cop is already disabled over 1,000 times across the codebase with
rubocop:disablecomments
Related issues
Closes #388971
This comment was generated by GitLab Duo