feat(ui,biome,eslint): #lib aliases, vendor ui out of biome, claddcn skin option
This commit is contained in:
1 parent
0fadb740fb
commit
7a7fbab3c4
9 files changed
+38
-23
No files matched your search
@@ -2,16 +2,22 @@
|
||||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
||||
"extends": ["ultracite/biome/core", "ultracite/biome/svelte"],
|
||||
"files": {
|
||||
{%- if ui_library == 'none' %}
|
||||
"includes": ["!.claude", "!.svelte-kit", "!build", "!.mcp.json"]
|
||||
{%- else %}
|
||||
"includes": [
|
||||
"!.claude",
|
||||
"!.svelte-kit",
|
||||
"!build",
|
||||
"!.mcp.json",
|
||||
"!src/lib/components/ui"{% if ui_library == 'claddcn' %},
|
||||
"!src/routes/claddcn.css"{% endif %}
|
||||
]
|
||||
{%- endif %}
|
||||
},
|
||||
"javascript": { "globals": ["Bun"] },
|
||||
"overrides": [
|
||||
{%- if ui_library == 'shadcn' %}
|
||||
{
|
||||
"includes": ["src/lib/components/ui/**"],
|
||||
"linter": { "enabled": false },
|
||||
"assist": { "enabled": false }
|
||||
},
|
||||
{%- if ui_library != 'none' %}
|
||||
{
|
||||
"includes": ["src/lib/utils.ts"],
|
||||
"linter": { "rules": { "suspicious": { "noExplicitAny": "off" } } }
|
||||
|
||||
Reference in new issue
Block a user