Skip to content

Force RuboCop to use the repository config in rake tasks#2

Merged
Metalzoid merged 1 commit intomainfrom
feat/drawer-sides-and-custom-dimensions
May 2, 2026
Merged

Force RuboCop to use the repository config in rake tasks#2
Metalzoid merged 1 commit intomainfrom
feat/drawer-sides-and-custom-dimensions

Conversation

@Metalzoid
Copy link
Copy Markdown
Owner

Summary

  • Pins RuboCop::RakeTask to the repository's .rubocop.yml so bundle exec rake doesn't inherit a runner-level or home-directory RuboCop config.

Test plan

  • bundle exec rake runs RuboCop with the repo config.

Note: superseded by #(next PR — feat/ci-cd-overhaul), which restores bare RuboCop::RakeTask.new because the new CI lint job calls bundle exec rubocop --no-server directly. Merge this first if you want it standalone, or close it once #(next PR) lands.

🤖 Generated with Claude Code

This prevents CI runners from inheriting external/home RuboCop configs (like missing rubocop-discourse) and failing unrelated PR checks.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Metalzoid Metalzoid merged commit e22f2a7 into main May 2, 2026
1 of 2 checks passed
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.

1 participant