sedona icon indicating copy to clipboard operation
sedona copied to clipboard

We could add `Biome` using `pre-commit` to save CI and developer time

Open jbampton opened this issue 1 month ago • 0 comments

https://biomejs.dev

Biome is a fast formatter for JavaScript, TypeScript, JSX, TSX, JSON, HTML, CSS and GraphQL that scores 97% compatibility with Prettier, saving CI and developer time.

So we have JS, JSON and CSS at least:

https://biomejs.dev/internals/language-support/

Mostly written in Rust:

https://github.com/biomejs/biome

https://biomejs.dev/recipes/git-hooks/#pre-commit

It seems much more configurable than Prettier and you can configure settings for individual file types

Why do we use use tools like Biome and prettier:

"By far the biggest reason for adopting Prettier is to stop all the on-going debates over styles. It is generally accepted that having a common style guide is valuable for a project and team but getting there is a very painful and unrewarding process. People get very emotional around particular ways of writing code and nobody likes spending time writing and receiving nits."

https://prettier.io/docs/why-prettier

jbampton avatar Dec 12 '25 04:12 jbampton