Hacker News new | ask | show | jobs
by onion2k 1518 days ago
Prettier does support that, in the sense that you can achieve it using an official solution. https://prettier.io/docs/en/precommit.html

It's the Unix mentality of chaining things rather than building it in to the package.

1 comments

Yeah, precommit isn’t my favorite thing out of personal preference. So it’s a shame prettier doesn’t have built in caching like other tools in the space.