In Javascript there is Prettier which auto-formats the code on saving:
https://prettier.io/
So essentially you stop caring about adding new lines or tabs, just press save and the code gets indented/formatted correctly.
A. not everyone on your team is using prettier
B. not everyone is using the same config/agrees on what it should be