3 ms·
In Javascript there is Prettier which auto-formats the code on saving: https://prettier.io/ https://prettier.io/ So essentially you stop caring about adding new
by giorgioz 1y ago
In Javascript there is Prettier which auto-formats the code on saving:
https://prettier.io/ https://prettier.io/
So essentially you stop caring about adding new lines or tabs, just press save and the code gets indented/formatted correctly.
- rglynn 1y agoI think the point is that: A. not everyone on your team is using prettier B. not everyone is using the same config/agrees on what it should be
- MaxLeiter 1y agoYeah something I should have covered more is a lot of my frustration comes from the _tooling_ around formatting. Prettier is quite slow, people may not have it setup right, etc.