google / google/yamlfmt

don't remove newline from end of file

Open
#131 1 comment 1 reaction 0 assignees View on GitHub
yaml_v3_problem
Dominant language
Go
Stars
1.8k
Forks
75
PR merge metrics
No merged PRs in 30d

Description

I might be showing my ignorance, but I was under the assumption that all plain text files should end in a newline, per the posix definition of a file. Why does yamlfmt remove them? How can I tell yamlfmt to not do that?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.