Remix.run Logo
giorgioz 3 days ago

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.

rglynn 3 days ago | parent [-]

I 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 3 days ago | parent [-]

Yeah 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.