Opinionated Biome config that enables additional rules over the recommended config. Emphasis on rules that encourage consistency, safety and readability across your code base.
npm install -D @tim-w-james/biome-configyarn add -D @tim-w-james/biome-configpnpm add -D @tim-w-james/biome-config npx install-peerdeps --dev @tim-w-james/biome-configAdd to your biome.json config:
{
"$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
+ "extends": ["@tim-w-james/biome-config/biome"]
}Biome is intended to be all-encompassing, but I've refined this config for use with:
- TypeScript
- React
- Next
- Jest/Vitest
- Playwright
- JSDoc
Note that in some cases, experimental "nursery" rules have been enabled. These may be unstable, and it is recommended to stick with the Biome version specified in the peerDependencies.