fix: resolve biome ci errors, expand root config rules

- Rewrite root biome.json with expanded rule overrides (a11y, complexity, suspicious)
- Add CSS tailwindDirectives support
- Add routeTree.gen.ts to ignores
- Fix unused variable and forEach return in global-background.tsx
- Update submodule pointer
This commit is contained in:
asepharyana
2026-07-10 06:37:20 +07:00
parent 6c2d80b64c
commit 124223c9e0
2 changed files with 21 additions and 6 deletions
+20 -5
View File
@@ -5,19 +5,29 @@
"enabled": true, "enabled": true,
"rules": { "rules": {
"preset": "recommended", "preset": "recommended",
"a11y": {
"useButtonType": "warn",
"useIframeTitle": "warn",
"noSvgWithoutTitle": "warn",
"useAltText": "warn"
},
"complexity": {
"noForEach": "off",
"noStaticOnlyClass": "off",
"noThisInStatic": "off",
"useOptionalChain": "off"
},
"suspicious": { "suspicious": {
"noArrayIndexKey": "warn",
"noConsole": "off", "noConsole": "off",
"noExplicitAny": "warn" "noExplicitAny": "warn"
}, },
"correctness": { "correctness": {
"noUnusedVariables": "error" "noUnusedVariables": "error",
"useParseIntRadix": "off"
}, },
"style": { "style": {
"noNonNullAssertion": "off" "noNonNullAssertion": "off"
},
"complexity": {
"noForEach": "off",
"noThisInStatic": "off"
} }
} }
}, },
@@ -39,6 +49,11 @@
"arrowParentheses": "always" "arrowParentheses": "always"
} }
}, },
"css": {
"parser": {
"tailwindDirectives": true
}
},
"files": { "files": {
"ignoreUnknown": false, "ignoreUnknown": false,
"includes": [ "includes": [