feat(frontend): biome

This commit is contained in:
ryan
2026-07-22 22:24:32 +08:00
parent f28aa6520e
commit 5b1e27d0a3
15 changed files with 338 additions and 176 deletions
+62
View File
@@ -0,0 +1,62 @@
{
"$schema": "https://biomejs.dev/schemas/2.5.5/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": false,
"root": ".."
},
"files": {
"ignoreUnknown": true,
"includes": [
"**",
"!!**/.next",
"!!**/node_modules",
"!!**/out",
"!!**/coverage",
"!!**/public",
"!!**/next-env.d.ts",
"!!**/pnpm-lock.yaml",
"!!**/.pnpm-store"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 80,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"jsxQuoteStyle": "single",
"semicolons": "always",
"trailingCommas": "all",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false
}
},
"css": {
"parser": {
"cssModules": false,
"allowWrongLineComments": false,
"tailwindDirectives": true
},
"formatter": {
"enabled": true
}
},
"json": {
"formatter": {
"trailingCommas": "none"
}
},
"linter": {
"enabled": false
},
"assist": {
"enabled": false
}
}