Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add trailing newline option #5

Merged
merged 1 commit into from
Apr 30, 2023

Conversation

sdd
Copy link
Contributor

@sdd sdd commented Apr 22, 2023

Adds an option to add a trailing newline at the end of the file (and check if it exists if in check mode). Defaults to false so as not to be a breaking change.

Closes: #4

@nrempel
Copy link
Owner

nrempel commented Apr 22, 2023

Thanks @sdd! Can you update this to make clippy happy? Otherwise, looks good!

@sdd sdd force-pushed the feat/trailing-newline-option branch from d192eaa to 97101c5 Compare April 30, 2023 09:31
@nrempel nrempel merged commit 393a0dd into nrempel:main Apr 30, 2023
@nrempel
Copy link
Owner

nrempel commented Apr 30, 2023

Thank you!

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.

Trailing newlines
2 participants