Skip to content

Add trailing newlines#15870

Merged
straight-shoota merged 2 commits intocrystal-lang:masterfrom
straight-shoota:chore/ensure-trailing-blanklines
Jun 12, 2025
Merged

Add trailing newlines#15870
straight-shoota merged 2 commits intocrystal-lang:masterfrom
straight-shoota:chore/ensure-trailing-blanklines

Conversation

@straight-shoota
Copy link
Member

All source files should have a trailing newline.
We already codified that for .cr files in .editorconfig and I'm adding .ecr as well.

This was discovered with ameba's Lint/TrailingBlankLines rule.

@straight-shoota straight-shoota added this to the 1.17.0 milestone Jun 11, 2025
@straight-shoota straight-shoota merged commit 5ccf2ff into crystal-lang:master Jun 12, 2025
38 checks passed
@straight-shoota straight-shoota deleted the chore/ensure-trailing-blanklines branch June 12, 2025 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants