refactor: refactor webui structure

This commit is contained in:
2025-04-24 02:23:26 +08:00
parent 68aa13e216
commit eb8f0be004
87 changed files with 407 additions and 385 deletions

View File

@@ -9,6 +9,9 @@
"style": {
"noNonNullAssertion": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noConsole": "off",
@@ -28,6 +31,36 @@
}
}
},
"overrides": [
{
"include": ["apps/webui/src/components/ui/**/*"],
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"linter": {
"rules": {
"style": {
"useBlockStatements": "off",
"useImportType": "off"
},
"nursery": {
"noNestedTernary": "off",
"useSortedClasses": "off"
},
"a11y": {
"noRedundantRoles": "off",
"useFocusableInteractive": "off",
"useSemanticElements": "off"
},
"complexity": {
"noExcessiveCognitiveComplexity": "off"
}
}
}
}
],
"files": {
"ignore": [".vscode/*.json"]
}