Files
publisher-dashboard/biome.jsonc
RevIQ a1db9ca3c5 Initial commit: Publisher dashboard monorepo
Turborepo + Bun monorepo with:
- apps/publisher-dashboard: Svelte 5 SPA with SvelteKit, Tailwind CSS v4, shadcn-svelte
- packages/publisher-utils: Shared TypeScript utilities

Features:
- Performance dashboard page with metrics, charts, and data tables
- shadcn-svelte UI components with OKLCH color system
- Biome for linting/formatting with Svelte-specific overrides

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 17:25:21 +08:00

76 lines
1.6 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"extends": ["@macalinao/biome-config/base"],
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"defaultBranch": "master"
},
"files": {
"ignoreUnknown": false,
"includes": [
"!node_modules",
"!**/node_modules",
"!dist",
"!**/dist",
"!build",
"!**/build",
"!.svelte-kit",
"!**/.svelte-kit",
"!.turbo",
"!**/.turbo",
"!**/*.css"
]
},
"css": {
"parser": {
"cssModules": true
},
"linter": {
"enabled": false
},
"formatter": {
"enabled": false
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2
},
"overrides": [
{
// Svelte 5 runes require `let` for $props(), template variables/imports appear unused to Biome,
// and useImportType incorrectly converts bits-ui component imports to type imports breaking the build
"includes": ["**/*.svelte"],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off"
},
"correctness": {
"noUnusedVariables": "off",
"noUnusedImports": "off"
}
}
}
},
{
// Disable import extensions and useImportType for Svelte app (CSS imports, bits-ui, etc.)
"includes": ["apps/publisher-dashboard/**"],
"linter": {
"rules": {
"style": {
"useImportType": "off"
},
"correctness": {
"useImportExtensions": "off"
}
}
}
}
]
}