@urbicon-ui/biome-config
v0.3.1
Published
Shared Biome base configuration (formatter + linter) for Bun/Svelte projects
Readme
@urbicon-ui/biome-config
Shared Biome base configuration (formatter + linter).
Mirrors the previous Prettier preferences: 2 spaces, single quotes, no trailing commas, line width 100 — plus Biome's recommended lint rules and import sorting.
Installation
bun add -D @biomejs/biome @urbicon-ui/biome-configUsage
// biome.json
{
"$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
"extends": ["@urbicon-ui/biome-config/biome-base.json"]
}Svelte (hybrid strategy)
Biome does not yet fully format/lint .svelte files. In SvelteKit projects,
Prettier (prettier-plugin-svelte) therefore handles only the .svelte files,
while Biome handles the rest. Exclude the .svelte files from Biome:
// biome.json
{
"extends": ["@urbicon-ui/biome-config/biome-base.json"],
"files": {
"includes": ["**", "!**/*.svelte"]
}
}udx init sets this up automatically for Svelte projects.
