Biome
- It is useful for formatting JavaScript, TypeScript, JSX, TSX, JSON, and CSS.
- It is much faster than other tools like Prettier, and it boasts a 97% compatibility.
Using Biome ultimately makes your code more maintainable.
- Consistent formatting makes code more readable.
- Using lint checks helps you learn and adopt best practices.
Enabling Biome
Section titled βEnabling BiomeβWhen you choose Biome as an option, three things are added to the Starlight project:
- Biome project dependency
- Biome.jsonc configuration file
- A
checkscript is added topackage.jsonthat runsbiome check