Shared Biome formatter and linter settings.
Add a biome.json (or biome.jsonc) that extends the default preset:
{
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
"extends": ["@kcconfigs/biome"]
}
The default preset extends the base rules and excludes generated artifacts such as dist, coverage, and test reports.
See biome.default.json for the full list.
@kcconfigs/biome: extends the base preset and adds sensible file includes/excludes plus editorconfig awareness.@kcconfigs/biome/base: bare preset containing formatter, linter, and assist rules without workspace-specific file filters; useful if you want custom include/exclude patterns.Example using the base preset with custom overrides:
{
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
"extends": ["@kcconfigs/biome/base"],
"files": { "includes": ["src/**/*.ts", "tests/**/*.ts"] },
"linter": {
"rules": {
"complexity": {
"noUselessSwitchCase": "warn"
}
}
}
}