build-flow.admin/biome.json
2026-07-23 17:16:04 +08:00

59 lines
1.2 KiB
JSON

{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"css": {
"parser": {
"tailwindDirectives": true
}
},
"files": {
"ignoreUnknown": true,
"includes": [
"**/*",
"!**/.umi",
"!**/.umi-production",
"!**/.umi-test",
"!**/.umi-test-production",
"!**/src/services",
"!**/mock",
"!**/dist",
"!**/server",
"!**/public",
"!**/coverage",
"!**/node_modules",
"!biome.json",
"!tailwind.css",
"!package-lock.json",
"!**/.worktrees"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noExplicitAny": "off",
"noUnknownAtRules": "off"
},
"correctness": {
"useUniqueElementIds": "off",
"useExhaustiveDependencies": "off"
},
"a11y": {
"noStaticElementInteractions": "off",
"useValidAnchor": "off",
"useKeyWithClickEvents": "off"
}
}
},
"javascript": {
"jsxRuntime": "reactClassic",
"formatter": {
"quoteStyle": "single"
}
}
}