linting with biome...

This commit is contained in:
unurled 2025-07-21 23:13:53 +02:00
parent da2e7da762
commit f19b9f3b36
Signed by: unurled
GPG key ID: EFC5F5E709B47DDD
263 changed files with 3013 additions and 2754 deletions

55
biome.json Normal file
View file

@ -0,0 +1,55 @@
{
"$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
"files": {
"ignoreUnknown": true,
"experimentalScannerIgnores": ["build", "node_modules", ".svelte-kit"],
"includes": [
"**",
"**/*.svelte",
"!**/package-lock.json",
"!**/pnpm-lock.yaml",
"!**/yarn.lock",
"!**/bun.lock",
"!**/bun.lockb",
"!./static/",
"!./drizzle/",
"!./node_modules/",
"!./build/",
"!.svelte-kit"
]
},
"formatter": {
"enabled": true,
"bracketSameLine": true,
"formatWithErrors": false
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useConst": "off"
},
"correctness": {
"noUnusedVariables": "off",
"noUnusedImports": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "none"
}
},
"json": {
"formatter": {
"trailingCommas": "none"
}
},
"assist": {
"enabled": true,
"actions": { "source": { "organizeImports": "on" } }
}
}