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:
+1
-1
Submodule apps/react updated: b08c142e23...124d2f88bd
+20
-5
@@ -5,19 +5,29 @@
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"preset": "recommended",
|
||||
"a11y": {
|
||||
"useButtonType": "warn",
|
||||
"useIframeTitle": "warn",
|
||||
"noSvgWithoutTitle": "warn",
|
||||
"useAltText": "warn"
|
||||
},
|
||||
"complexity": {
|
||||
"noForEach": "off",
|
||||
"noStaticOnlyClass": "off",
|
||||
"noThisInStatic": "off",
|
||||
"useOptionalChain": "off"
|
||||
},
|
||||
"suspicious": {
|
||||
"noArrayIndexKey": "warn",
|
||||
"noConsole": "off",
|
||||
"noExplicitAny": "warn"
|
||||
},
|
||||
"correctness": {
|
||||
"noUnusedVariables": "error"
|
||||
"noUnusedVariables": "error",
|
||||
"useParseIntRadix": "off"
|
||||
},
|
||||
"style": {
|
||||
"noNonNullAssertion": "off"
|
||||
},
|
||||
"complexity": {
|
||||
"noForEach": "off",
|
||||
"noThisInStatic": "off"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -39,6 +49,11 @@
|
||||
"arrowParentheses": "always"
|
||||
}
|
||||
},
|
||||
"css": {
|
||||
"parser": {
|
||||
"tailwindDirectives": true
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"ignoreUnknown": false,
|
||||
"includes": [
|
||||
|
||||
Reference in New Issue
Block a user