Skip to content

Biome

FieldValue
TypeSkill Resource
Source~/.copilot/skills/frontend/templates/astro-starter/biome.json
DescriptionNot specified

Source Content

{
"$schema": "https://biomejs.dev/schemas/2.5.0/schema.json",
"//": "dmwd-io standard Biome config — one binary replaces ESLint + Prettier. Lints and formats TS/TSX/JS/JSON. .astro files are formatted by Astro's own toolchain (Prettier plugin), so they are excluded here.",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": true,
"includes": ["src/**", "*.json", "*.mjs", "*.ts", "!dist", "!.astro", "!**/*.astro"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100,
"lineEnding": "lf"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error",
"noUnusedImports": "error"
},
"style": {
"useConst": "error",
"useImportType": "error"
},
"suspicious": {
"noConsole": { "level": "warn", "options": { "allow": ["error", "warn"] } }
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "always",
"trailingCommas": "all"
}
},
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}