insert_final_newline

End the file with a newline, or without one. Not set, the file keeps what it has.

Value Notes
true
false

Default: (not set)

No known case where Curb's output is not a fixed point of dotnet format — see conformance.

true ends the file with a newline, adding one if it's missing. false removes the newline after the last line. With the key unset, the file keeps whether it ends with a newline, as it does in dotnet format. A code block can't show the difference.