4 ms·
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.
by foreigner 3y ago
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.
- conaclos 3y agoBiome 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 https://github.com/biomejs/biome/pull/753
- _fat_santa 3y agoTangental but for anyone using lint staged + typescript, I recommend tsc-files[1]. [1]: https://github.com/gustavopch/tsc-files https://github.com/gustavopch/tsc-files