JuliaFormatter.jl
JuliaFormatter.jl copied to clipboard
Why is there a blank line added at the end of every file?
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?
what options are you formatting with?
what options are you formatting with?
with an empty .toml
and format(".")
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.
What's exactly the content of the formatted file?
a = 1\n
ora = 1\n\n
? If that is the former, it should be intended behavior.