- 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
74 lines
1.6 KiB
JSON
74 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.5.3/schema.json",
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
|
"linter": {
|
|
"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",
|
|
"useParseIntRadix": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": false,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100,
|
|
"lineEnding": "lf"
|
|
},
|
|
"javascript": {
|
|
"jsxRuntime": "transparent",
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"jsxQuoteStyle": "double",
|
|
"trailingCommas": "all",
|
|
"semicolons": "always",
|
|
"arrowParentheses": "always"
|
|
}
|
|
},
|
|
"css": {
|
|
"parser": {
|
|
"tailwindDirectives": true
|
|
}
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": false,
|
|
"includes": [
|
|
"**",
|
|
"!**/.opencode",
|
|
"!**/dist",
|
|
"!**/out",
|
|
"!**/build",
|
|
"!**/node_modules",
|
|
"!**/target",
|
|
"!**/coverage",
|
|
"!**/*.env",
|
|
"!**/*.env.*",
|
|
"!**/apps/react/src/routeTree.gen.ts"
|
|
]
|
|
}
|
|
}
|