mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 04:19:20 +00:00
74 lines
1.5 KiB
JSON
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"
|
|
]
|
|
}
|
|
}
|