Files
better-auth/biome.json
2025-09-30 10:14:23 -07:00

74 lines
1.5 KiB
JSON

{
"root": true,
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"assist": { "actions": { "source": { "organizeImports": "off" } } },
"linter": {
"enabled": true,
"rules": {
"recommended": false,
"suspicious": {
"noImplicitAnyLet": "warn",
"noDuplicateObjectKeys": "warn",
"noTsIgnore": "error",
"noDebugger": "error"
},
"performance": {
"noDelete": "error"
},
"complexity": {
"noUselessSwitchCase": "warn",
"noUselessTypeConstraint": "warn"
},
"correctness": {
"noUnusedImports": "warn"
},
"nursery": {
"noMisusedPromises": "error",
"noFloatingPromises": "error"
}
}
},
"overrides": [
{
"includes": ["**/examples/svelte-kit-example/**"],
"linter": {
"rules": {
"correctness": {
"noUnusedImports": "off"
}
}
}
},
{
"includes": ["**/*.json"],
"formatter": {
"indentStyle": "space",
"indentWidth": 2
}
}
],
"files": {
"includes": [
"**",
"!**/dist",
"!**/build",
"!**/.next",
"!**/.svelte-kit",
"!**/.contentlayer",
"!**/.turbo",
"!**/.nuxt",
"!**/.source",
"!**/.expo",
"!**/.cache",
"!**/dev/cloudflare/drizzle",
"!**/playwright-report",
"!**/.output",
"!**/.tmp"
]
}
}