This is really great! The only thing stopping me to fully switch to it, is the tailwind sorting nursery, waiting on it to be fully developed! But Biome is already awesome, I use it on all my personal projects.
Hi, thanks for the video, I switched to biome but in my astrojs project I'm not able to sort my tailwind classes. Even when running npx biome check --unsafe. I also added this to my biome.json "linter": { "rules": { "nursery": { "useSortedClasses": "error" } } } but it doesn't work, maybe do you have an advice or can create a follow up video?
Any way to fix it automatically? Only for that rule? Other thing, any rule to remove unnecessary `{}`, like `prop={"test"}` when can be only `prop="test"`
using tabs instead of spaces, removed all single quotes... mmm honestly these defaults are not comfortable for me, but the execution speed is so impressive
Both great tools with some differences in direction. Notably, Biome intends to support all languages formatting wise in the future and is the most feature complete. Oxc linter on the other hand is more compatible with old ESLint. Personally I liked biome here as it was one package simple set up, and I didn’t need any extra configs. Good comparison in Biomes GitHub here: github.com/biomejs/biome/discussions/1281#discussioncomment-7921674
6:20 unfouchently import sorting is important. It's not about pretty. For example I use pixijs and spine animation - spine plugin should be import after pixijs but before your code. Spine modifies pixijs as I get. it's dirty, but I can't change it
This is really great! The only thing stopping me to fully switch to it, is the tailwind sorting nursery, waiting on it to be fully developed! But Biome is already awesome, I use it on all my personal projects.
Wow.
This looks really good. Thanks for the video. I will give this a try.
You’re really good at finding these hidden gems man! Great video
Started using biome right now loving it❤
Nice recommendation, thanks!
Hi, thanks for the video, I switched to biome but in my astrojs project I'm not able to sort my tailwind classes. Even when running npx biome check --unsafe. I also added this to my biome.json
"linter": {
"rules": {
"nursery": {
"useSortedClasses": "error"
}
}
}
but it doesn't work, maybe do you have an advice or can create a follow up video?
Nice video! Thanks for sharing. I gave it a try in my Neovim but when I have a large file it literally cuts like 80% when formatting the code lol
Yeah I think I saw this bug in their issues list, related to organise imports, hopefully gets fixed!
tank you! Ist it possible to remove unused imports using biome?
what settings can make else if statement to start at a new line?
Any way to fix it automatically? Only for that rule?
Other thing, any rule to remove unnecessary `{}`, like `prop={"test"}` when can be only `prop="test"`
using tabs instead of spaces, removed all single quotes... mmm honestly these defaults are not comfortable for me, but the execution speed is so impressive
Great 👍
Not sure if this is a good idea, but I use Biome formatting in ci and prettier for in editor (for tailwind classname sorting)
Yeah Biome is truly a life saver
There is an ongoing debate on way of sorting imports. That is kind of dealbreaker for now, yet Biome looks promising.
what about oxc?
Both great tools with some differences in direction. Notably, Biome intends to support all languages formatting wise in the future and is the most feature complete.
Oxc linter on the other hand is more compatible with old ESLint. Personally I liked biome here as it was one package simple set up, and I didn’t need any extra configs.
Good comparison in Biomes GitHub here: github.com/biomejs/biome/discussions/1281#discussioncomment-7921674
@@JollyCoding thanks
6:20 unfouchently import sorting is important. It's not about pretty. For example I use pixijs and spine animation - spine plugin should be import after pixijs but before your code. Spine modifies pixijs as I get. it's dirty, but I can't change it
Okay you have my attention.
Once I figure out how to use Tailwind Prettier plugin, I'll start using Biome.
Yeah I’ve found I haven’t missed too much from the prettier plugin that biome doesn’t have built in. Good to compare!
I use eslint airbnb rules. Can J have it in biome as well? I didn't see it in the plugins at the moment
One thing I worry biome doest not support graphQL 😏
a graphql extension handles it 😉
@draylegend could you please let me know the extension name for the format graphql string biome won't work perfectly
@@rajaark5643 Google: graphql extension IDE_NAME. Since I'm using PhpStorm, the gql extension is an official plugin developed by JetBrains
@@rajaark5643 or even better search: IDE_NAME > extensions/plugins > graphql
the tw plugin is too immature and lack of format on save is kind of a dealbreaker. Also, would be nice as a vsc plugin
Maybe stop using these shit tools like tailwind
Agreed. I don’t know why people are so scared of learning plain old css.
I don't know why people dunk on tailwind. You're writing actual css. Just in the same file
@@sofianikiforova7790 because with plain css it's basically impossible to do something complex