2 Comments
User's avatar
Alex Lloyd's avatar

A tool exists which (partially) solves this problem. I find it tips the trade-offs back in favour of pre-commit formatting https://github.com/lint-staged/lint-staged

Expand full comment
Tyler Adams's avatar

Excellent partial solution!

Expand full comment