It's weird how quickly we can adopt tooling that change our expectations about development processes even though it is mostly for aesthetics. Python's "black" let's me put code absolutely anywhere without thinking about it. Just save it and let it reformat it.
@raphael prettier is the js equivalent of black and its defaults are mostly sane and usable (once you set the indent width to 4 instead of 2).
i have CI set on all js projects to fail PRs that aren't formatted with prettier. fmt before commit or gtfo
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!