Biome v1.7 (biomejs.dev)
from arendjr@programming.dev to rust@programming.dev on 15 Apr 2024 14:57
https://programming.dev/post/12807878

This new version provides an easy path to migrate from ESLint and Prettier. It also introduces machine-readable reports for the formatter and the linter, new linter rules, and many fixes.

#rust

threaded - newest

expr@programming.dev on 15 Apr 2024 15:26 next collapse

This is a community for Rust, not JavaScript. This doesn’t belong here.

BB_C@programming.dev on 15 Apr 2024 15:50 next collapse

Yep.

I think we are way past the point where a random release of a project that happens to use Rust as an implementation language would meet the “interesting” threshold.

Being webshit-related doesn’t help of course, but maybe that’s just me.

arendjr@programming.dev on 15 Apr 2024 17:12 collapse

Couple of weeks ago there was a post here calling for more content to be posted in this sub, so I figured you might appreciate the content. As a project, Biome is also helping a lot of web developers become interested in Rust, since many of our contributors make their first-time Rust contributions there.

expr@programming.dev on 15 Apr 2024 20:43 collapse

Ah my bad, didn’t see that Rust was the implementation language. Carry on.

sugar_in_your_tea@sh.itjust.works on 15 Apr 2024 15:26 collapse

Cool, I haven’t heard of this, and just recently added eslint and prettier to my new project. I’ll have to give this a shot.

Anyone else have experience with it? I’m worried about scope creep:

We will provide the ability to transform TypeScript and JSX files into JavaScript files.

Surely it would be easier to leave that to the TypeeScript devs and just focus on linting and formatting, no?

arendjr@programming.dev on 15 Apr 2024 17:15 collapse

Surely it would be easier to leave that to the TypeeScript devs and just focus on linting and formatting, no?

Almost nobody uses the TypeScript compiler for transpilation. I think most people nowadays use either Esbuild or SWC for that. The advantage that Biome has is that we already have the parsing and the serialization infrastructure and can add features like that with relative ease. For users that means fewer dependencies, less configuration, and less room for error.

sugar_in_your_tea@sh.itjust.works on 15 Apr 2024 17:55 collapse

I guess that’s fair, I’m just concerned about being blocked by something like Biome to use a new TypeScript feature, whereas if it was a separate component, it would be easy to swap for a different dependency with better support.

Maybe that’s not an issue in practice, I don’t know. I’d like an all-in-one solution, I’m just worried about the project running out of steam and not being able to be reused.

arendjr@programming.dev on 15 Apr 2024 18:54 collapse

It’s a fair concern, but if there’s any consolation, we’re experiencing quite the influx of new contributors lately and the maintainer team is growing every month for the last couple of months. There’s a lot of steam coming our way, so I don’t think we’ll run out just yet :)

sugar_in_your_tea@sh.itjust.works on 15 Apr 2024 19:06 collapse

Awesome, good to hear. I’ll have to try it out and maybe send some funds your way. :)

arendjr@programming.dev on 15 Apr 2024 19:18 collapse

❤️