prmbr-image-mksaas/biome.json
javayhu 2ba2eebbaa chore: update database schema and enhance authentication features
- Add `username` column to the `user` table and enforce uniqueness constraint.
- Introduce new SQL migration file for the `username` addition.
- Update `schema.ts` to reflect changes in the `user`, `session`, and `account` tables.
- Enhance authentication client by integrating `usernameClient` plugin for better user management.
- Adjust session management settings for improved caching and freshness.
- Refactor metadata generation in the home page for consistency.
2025-03-15 00:54:13 +08:00

68 lines
1.3 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": true,
"ignore": [
".next/**",
".content-collections/**",
"node_modules/**",
"dist/**",
"build/**",
"src/components/ui/*.tsx",
"src/components/magicui/*.tsx",
"tailwind.config.ts",
"src/db/schema.ts"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80,
"formatWithErrors": true
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noSparseArray": "off"
},
"style": {
"useTemplate": "off",
"noNonNullAssertion": "off",
"useShorthandArrayType": "off"
},
"a11y": {
"useValidAnchor": "off"
}
},
"ignore": [
".next/**",
".content-collections/**",
"node_modules/**",
"dist/**",
"build/**",
"src/components/ui/*.tsx",
"src/components/magicui/*.tsx",
"tailwind.config.ts",
"src/db/schema.ts"
]
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "es5",
"semicolons": "always"
}
}
}