Skip to content

Fix all trailing whitespace#2240

Merged
tancnle merged 5 commits intomainfrom
maint.fix-trailing-whitespace
Mar 10, 2026
Merged

Fix all trailing whitespace#2240
tancnle merged 5 commits intomainfrom
maint.fix-trailing-whitespace

Conversation

@jneen
Copy link
Copy Markdown
Member

@jneen jneen commented Mar 3, 2026

Adds back in several of Rubocop's Layout rules.

  • Layout/TrailingWhitespace Allows for trailing whitespace in heredocs, since we use those for testing.
  • Layout/IndentationStyle prevents hard-tab indentation
  • Layout/IndentationWidth and Layout/EndAlignment (with dedented if/case)
  • Layout/EndOfLine to detect windows line endings
  • Layout/TrailingEmptyLines to locally catch what LineLint does

@tancnle tancnle added this pull request to the merge queue Mar 10, 2026
Merged via the queue into main with commit b8ac249 Mar 10, 2026
25 of 30 checks passed
@tancnle tancnle deleted the maint.fix-trailing-whitespace branch March 10, 2026 14:22
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.

2 participants