ui/: SvelteKit 2 + Svelte 5 + Tailwind 4 + shadcn-svelte (luma, lucide) on bun with ultracite; adapter-static with SPA fallback; theme tokens taken from msos. Dockerfile gains a bun stage that builds ui/build. Makefile and pre-commit cover ruff, ty, ultracite and svelte-check; .claude settings run the matching fixer after edits. docs/PRODUCT.md captures product truth for the UI work.
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
"extends": ["ultracite/biome/core", "ultracite/biome/svelte"],
|
|
"javascript": {
|
|
"globals": ["Bun"]
|
|
},
|
|
"linter": {
|
|
"rules": {
|
|
"performance": {
|
|
"noNamespaceImport": "off"
|
|
}
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"includes": ["**/*.svelte"],
|
|
"linter": {
|
|
"rules": {
|
|
"correctness": {
|
|
"noUndeclaredVariables": "off",
|
|
"noUnusedFunctionParameters": "off",
|
|
"noUnusedVariables": "off"
|
|
},
|
|
"style": {
|
|
"useFilenamingConvention": "off"
|
|
},
|
|
"a11y": {
|
|
"noSvgWithoutTitle": "warn",
|
|
"useButtonType": "warn"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["src/app.d.ts"],
|
|
"linter": {
|
|
"rules": {
|
|
"style": {
|
|
"noNamespace": "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["src/app.html"],
|
|
"linter": { "enabled": false },
|
|
"formatter": { "enabled": false }
|
|
},
|
|
{
|
|
"includes": ["src/lib/components/ui/**"],
|
|
"linter": { "enabled": false },
|
|
"assist": { "enabled": false }
|
|
}
|
|
]
|
|
}
|