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:

  1. Unclear definitions - The abstraction level definitions are confusing and contradictory
  2. Prevents scope reuse - Despite scopes being allowed per the original intent, the cop doesn't warn against their use
  3. Doesn't check for described offenses - The cop fails to catch actual violations it was designed to prevent
  4. Incomplete implementation - The original guidelines from the 2018 issue were never fully implemented
  5. Widely disabled - The cop is already disabled over 1,000 times across the codebase with rubocop:disable comments

Closes #388971


This comment was generated by GitLab Duo

Merge request reports

Loading