Open bradoyler opened 7 years ago
Ugh, I also hate when files don't end with a newline. Yuck, even having Atom's whitespace
package installed, enabled, and configured to enable Ensure Single Trailing Newline
doesn't help.
I can't work on this right this minute but I'll try to fix it soon. Thanks for the ticket!
Ideally this could come from a .editorconfig file... along with indent size / style and newline style,
@jnields there's at least one (maybe more) editorconfig packages for Atom that should, in theory, make this work. Those packages would set Ensure Single Trailing Newline
properly, and then the pretty-json
package should correctly honor that setting.
One annoyance I have is that when saving json files it removes the newline ending. Would it be ok to turn off the removal of newline on save?