Skip to content

Decide on pending cops - #484

Merged
issyl0 merged 3 commits into
mainfrom
decide-on-pending-cops
Oct 2, 2026
Merged

issyl0 merged 3 commits into
mainfrom
decide-on-pending-cops

Conversation

@issyl0

@issyl0 issyl0 commented Oct 2, 2026

Copy link
Copy Markdown
Member
  • I bumped a consumer of this gem to its latest version and it produced a bunch of offenses.

  • Turns out that, per the README, as part of bumping the RuboCop version I should have categorized and promoted the new rules, otherwise, all are enabled by default because the pending cops aren't inherited.

issyl0 and others added 2 commits October 2, 2026 09:39
- Promote all pending cops into the default configuration based on their
  results against github/github and the Ruby styleguide.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Promote all Rails-specific pending cops into the Rails configuration
  based on their results against github/github.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 2, 2026 09:11
@issyl0
issyl0 requested a review from a team as a code owner October 2, 2026 09:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

All pending cops receive explicit decisions, and the related cleanup is consistent and complete.

Review effort: Balanced
Findings: None

What changed in this PR

Promotes pending RuboCop rules into explicit configurations, preventing unexpected defaults for consumers.

Changes:

  • Explicitly enables or disables pending Ruby, performance, and Rails cops.
  • Clears both pending-cop files.
  • Removes an obsolete inline cop suppression.
File Description
config/​default.yml Records decisions for general cops.
config/​default_pending.yml Removes resolved pending cops.
config/​rails.yml Records decisions for Rails cops.
config/​rails_pending.yml Removes resolved pending cops.
lib/​rubocop/​cop/​github/​rails_view_render_literal.rb Removes obsolete suppression directives.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@issyl0
issyl0 enabled auto-merge October 2, 2026 09:32
@issyl0
issyl0 force-pushed the decide-on-pending-cops branch from 136b479 to e581980 Compare October 2, 2026 09:46
@issyl0
issyl0 merged commit 205099c into main Oct 2, 2026
10 checks passed
@issyl0
issyl0 deleted the decide-on-pending-cops branch October 2, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants