Re:Digital pollution
by PavlovsCat on Saturday October 19, 2019 @11:15AM
(#21298900)
For Sublime Text, you can add "trim_trailing_white_space_on_save" to the user settings and set it to true :)
[ Parent
| on HN ]
Re:Digital pollution
by james-skemp on Saturday October 19, 2019 @02:54PM
(#21300070)
VS Code is very similar, with the additional support for .EditorConfig files.
I do have a new line at the end of files now so that Git doesn't complain. That and new lines before some curly braces (either JS/TS/C#, can't recall which) is the only thing I've changed over the last decade+. The fact that I don't recall which I do where suggests I might want to reevaluate that, if it's not in a language that's going to compile it out.