4 ms·
I really wish there was viable replacement for Prettier with the same language support coverage. Every Prettier release introduces new breaking bugs for me, (I'
by herpdyderp 1y ago
I really wish there was viable replacement for Prettier with the same language support coverage. Every Prettier release introduces new breaking bugs for me, (I'm not talking about formatting updates I'm talking about formatting that never settles or outright crashes, etc.) and they never fix them. The plugin system for Prettier is also the worst I've ever seen, it's a nightmare to write a plugin.
- Eric_WVGG 1y ago> While Biome supports multiple languages, it lags behind Prettier in terms of coverage. Notably, HTML, Markdown, and SCSS are not yet supported Seems like they started with the hard ones and are getting around to the easy ones? Or is linting HTML difficult because of cruft?
- conaclos 1y agoOur HTML formatter is ready and will be part of the upcoming Biome v2 release.
- nine_k 1y agoFormatting HTML is a much less painful and slow task than formatting TS. There are a few good and fast tools for that anyway. Also, you typically don't use a lot of HTML files along with substantial amounts of TS; the latter usually does JSX. Formatting SSCS should be trivial compared to even formatting HTML, which is trivial compared to formatting TS. They took on the principal task first, and did not allow doing the trivial tasks early to inform any implementation decisions, which should be optimized for the hardest and most important task.
- haburka 1y agoPrettier is one of the hardest projects to maintain. There’s so much code necessary to format ALL of the languages. I haven’t checked out the plugin system. Also the core philosophy of prettier is to basically ignore people’s aesthetic preferences about code. Which causes lots of flame wars in the issues. They really do fix crashes if you submit PRs though. Do you not like contributing to open source but still feel empowered to complain about it? Opening a ticket with a good reproduction case is also contributing but sometimes it’s necessary to put a bit more effort into tools.