I have no idea why this is even a thing. Removing dead code on save is stupid.
Add .editorconfig, .vscode and .gitattributes configs to make editors and tools aware that the files use unix line indeings and are indentent with tabs.