this post was submitted on 15 Apr 2024
8 points (75.0% liked)

Rust

6124 readers
18 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
8
Biome v1.7 (biomejs.dev)
submitted 8 months ago by arendjr to c/rust
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] arendjr 3 points 8 months ago (1 children)

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.

[–] [email protected] 2 points 8 months ago (1 children)

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 3 points 8 months ago (1 children)

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 :)

[–] [email protected] 3 points 8 months ago (1 children)

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

[–] arendjr 2 points 8 months ago