Files
ARTEX/web/biome.json
T
Autumn-27andClaude Opus 4.8 0ef8561411 chore: ARTEX 初始化
ARTEX — AI 自主渗透测试系统(Go 后端 + Next.js 前端,单二进制内嵌)。

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-07-26 04:27:45 -04:00

131 lines
3.0 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.5.1/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
"react",
"react/**",
":BLANK_LINE:",
"next/**",
":BLANK_LINE:",
":PACKAGE:",
":BLANK_LINE:",
":ALIAS:",
":BLANK_LINE:",
":PATH:"
]
}
}
}
}
},
"files": {
"ignoreUnknown": true,
"includes": [
"**",
"!.github",
"!.husky",
"!node_modules",
"!.next",
"!dist",
"!out",
"!src/components/ui",
"!src/components/calendar"
]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 120,
"attributePosition": "auto",
"bracketSameLine": false,
"bracketSpacing": true,
"expand": "auto",
"useEditorconfig": true
},
"linter": {
"enabled": true,
"rules": {
"preset": "recommended",
"correctness": {
"noUndeclaredVariables": "error",
"noNestedComponentDefinitions": "error",
"noUndeclaredDependencies": "error"
},
"nursery": {
"useSortedClasses": "on",
"useNullishCoalescing": "error",
"noFloatingPromises": "error",
"noMisusedPromises": "error"
},
"performance": {
"noImgElement": "warn"
},
"style": {
"noCommonJs": "error",
"noHeadElement": "warn",
"noNamespace": "error",
"useAsConstAssertion": "error",
"useSelfClosingElements": "error",
"noNestedTernary": "warn",
"noParameterAssign": "error",
"noInferrableTypes": "error",
"noUselessElse": "error",
"useFilenamingConvention": "error"
},
"suspicious": {
"noArrayIndexKey": "warn",
"noConstantBinaryExpressions": "error",
"noEmptyBlockStatements": "error",
"noUnknownAtRules": "off",
"noImportCycles": "error",
"noUnnecessaryConditions": "warn"
},
"complexity": {
"noImportantStyles": "off"
}
},
"domains": {
"next": "recommended",
"react": "recommended"
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "all",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSameLine": false,
"quoteStyle": "double",
"attributePosition": "auto",
"bracketSpacing": true
}
},
"html": {
"formatter": {
"indentScriptAndStyle": false,
"selfCloseVoidElements": "always"
}
}
}