Skip to content

style: Fix remaining Layout offenses - #2745

Merged
mroderick merged 6 commits into
masterfrom
fix/rubocop-layout-remaining
Jul 28, 2026
Merged

style: Fix remaining Layout offenses#2745
mroderick merged 6 commits into
masterfrom
fix/rubocop-layout-remaining

Conversation

@mroderick

@mroderick mroderick commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Fix remaining Layout cops (54 offenses across 6 cops → 6 commits, one per cop).

Commits

Commit Cop Offenses fixed
d4050f3 Layout/EmptyLinesAroundBlockBody 9
4f208b1 Layout/ExtraSpacing 2
a61b6b5 Layout/MultilineMethodCallIndentation 2
df63b93 Layout/HashAlignment 16
3264134 Layout/ArrayAlignment 14
d26dad8 Layout/LineLength 11

Each commit removes the cop's exclusion from .rubocop_todo.yml and regenerates.

  • Offense count: 1213 → 1173 (−40 net)
  • bundle exec rubocop green, 525 spec examples pass, 0 failures

Fix 9 offenses across 9 spec files and regenerate .rubocop_todo.yml.
Fix 2 offenses in spec/support/capybara.rb and regenerate .rubocop_todo.yml.
Fix 2 offenses and regenerate .rubocop_todo.yml.
Fix 16 offenses and regenerate .rubocop_todo.yml.
Fix 14 offenses and regenerate .rubocop_todo.yml.
Fix 11 offenses across 8 files and regenerate .rubocop_todo.yml.
@mroderick
mroderick force-pushed the fix/rubocop-layout-remaining branch from d3e0578 to d26dad8 Compare July 28, 2026 07:58
@mroderick
mroderick marked this pull request as ready for review July 28, 2026 08:02
@mroderick
mroderick merged commit 042cf31 into master Jul 28, 2026
9 checks passed
@mroderick
mroderick deleted the fix/rubocop-layout-remaining branch July 28, 2026 08:02
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