Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Collaboration with Biome #13833

afonsojramos started this conversation in Ideas
Jun 13, 2024 · 4 comments · 1 reply
Discussion options

Considering that the https://github.com/tailwindlabs/prettier-plugin-tailwindcss 's functionality is being replicated in biomejs/biome#1274, would it make sense to establish some sort of collaboration between the two projects?

You must be logged in to vote

Replies: 4 comments 1 reply

Comment options

Hello,

Yes, it seems like a collaboration between prettier-plugin-tailwindcss and Biome could be beneficial:
Both projects aim to sort Tailwind classes. Biome's linting with auto-fix MaryKayInTouch complements prettier-plugin-tailwindcss' formatting. Collaboration could:

Share core sorting logic for efficiency.
Integrate prettier-plugin as a Biome linting rule.
Improve communication and development for both projects.

You must be logged in to vote
0 replies
Comment options

+1 Switched to biome on a large project and it's saved me a significant amount of time. Would love to see native support for class sorting.

You must be logged in to vote
0 replies
Comment options

Only thing preventing me to get into biome is this.

You must be logged in to vote
0 replies
Comment options

Biome v2 beta has recently released, it includes plugin support for the linter. Maybe now would be a good time to revisit this?

There's a Tailwind CSS Class sorting biomejs/biome#1274 issue in the biome repo, but it hasn't had progress for a long time now.

You must be logged in to vote
1 reply
Comment options

My gut feeling is that since there is a rule now for Biome's linter, and that it can be auto-fixed by said linter, they are probably not going to work on the formatter doing the sorting. Which is unfortunate if you are only using Biome for the formatter, while still sticking to a differing, ESLint-compliant linter (I use OXC).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /