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,
|
"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": [
|
||||||
|
|||||||
Reference in New Issue
Block a user