64 lines
1.3 KiB
JSON
64 lines
1.3 KiB
JSON
{
|
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"**",
|
|
"!**/dist",
|
|
"!**/.next",
|
|
"!**/node_modules",
|
|
"!openapi.json",
|
|
"!modules/*/__tests__/fixtures",
|
|
"!convex/generated",
|
|
"!convex/schema.ts",
|
|
"!better-auth/functions/betterAuth/schema.ts"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 120
|
|
},
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"preset": "recommended",
|
|
"a11y": {
|
|
"preset": "recommended"
|
|
},
|
|
"correctness": {
|
|
"noUnusedImports": "error",
|
|
"useExhaustiveDependencies": "error"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "error",
|
|
"noConsole": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "error",
|
|
"useConst": "error",
|
|
"noParameterAssign": "error"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "double",
|
|
"semicolons": "asNeeded",
|
|
"trailingCommas": "all"
|
|
}
|
|
}
|
|
}
|