Skip to content

chore: fix 19 Layout rubocop offenses - #2746

Merged
mroderick merged 1 commit into
masterfrom
fix-layout-offenses
Jul 28, 2026
Merged

chore: fix 19 Layout rubocop offenses#2746
mroderick merged 1 commit into
masterfrom
fix-layout-offenses

Conversation

@mroderick

Copy link
Copy Markdown
Collaborator

What

Ran rubocop --only Layout --autocorrect to fix 19 offenses across 6 Layout cops, then regenerated .rubocop_todo.yml to remove those entries.

Cops fixed

  • Layout/ArgumentAlignment — 3 offenses in admin/invitations_controller.rb and member_portal_spec.rb
  • Layout/BlockEndNewline — 1 offense in workshop_invitation.rb
  • Layout/FirstHashElementIndentation — 6 offenses in omniauth/codebar.rb
  • Layout/HashAlignment — 1 offense in admin/invitations_controller.rb
  • Layout/MultilineMethodCallIndentation — 1 offense in dashboard_controller.rb
  • Layout/TrailingWhitespace — 1 offense in admin/invitations_controller.rb

All corrections are safe autocorrect only.

Remove Layout/ArgumentAlignment, Layout/BlockEndNewline,
Layout/FirstHashElementIndentation, Layout/HashAlignment,
Layout/MultilineMethodCallIndentation, and Layout/TrailingWhitespace
entries from rubocop_todo.yml by running safe autocorrect.

Affected files:
- app/controllers/admin/invitations_controller.rb
- app/controllers/dashboard_controller.rb
- app/models/workshop_invitation.rb
- lib/omniauth/strategies/codebar.rb
- spec/features/member_portal_spec.rb
@mroderick
mroderick marked this pull request as ready for review July 28, 2026 13:14
@mroderick
mroderick merged commit ae7bfd0 into master Jul 28, 2026
9 checks passed
@mroderick
mroderick deleted the fix-layout-offenses branch July 28, 2026 13:14
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