Re:Ask HN: Should source files always end in a new line?
by mxz3000 on Saturday September 24, 2022 @10:56AM
(#32963188)
Doesn't matter. Pick one. Enforce it with a linter. Move on with your life.
[ Parent
| on HN ]
Re:Ask HN: Should source files always end in a new line?
by Nextgrid on Saturday September 24, 2022 @11:06AM
(#32963327)
Most importantly, pick a linter that can automatically fix it. I use pre-commit (https://pre-commit.com) for that. As a bonus, it supports other, language-specific linters.