Hacker News new | past | comments | ask | show | jobs | submit login

I recommend using the lint-staged tool so Prettier only runs on every save on changed files. It makes a huge difference on large projects.



Biome is also working on a feature that only formats changed files. See the associated PR [0] for more details.

[0] https://github.com/biomejs/biome/pull/753


Tangental but for anyone using lint staged + typescript, I recommend tsc-files[1].

[1]: https://github.com/gustavopch/tsc-files




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: