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

Why is there a blank line added at the end of every file? #756

Open
JohannesNaegele opened this issue Sep 12, 2023 · 4 comments
Open

Why is there a blank line added at the end of every file? #756

JohannesNaegele opened this issue Sep 12, 2023 · 4 comments

Comments

@JohannesNaegele
Copy link

Let's say I have a file foo.jl:

a = 1

then this gets turned into (given an empty .JuliaFormatter.toml):

a = 1

Is that intended behaviour?

@domluna
Copy link
Owner

domluna commented Oct 4, 2023

what options are you formatting with?

@JohannesNaegele
Copy link
Author

what options are you formatting with?

with an empty .toml and format(".")

@hyrodium
Copy link
Contributor

hyrodium commented Nov 15, 2023

What's exactly the content of the formatted file? a = 1\n or a = 1\n\n?
If that is the former, it should be intended behavior.

@JohannesNaegele
Copy link
Author

What's exactly the content of the formatted file? a = 1\n or a = 1\n\n? If that is the former, it should be intended behavior.

Screenshot 2023-11-19 at 00 36 01

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

No branches or pull requests

3 participants