Files
2026-07-13 12:28:53 +08:00

82 lines
1.7 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.4.12/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": [
"**",
"!**/dist",
"!**/node_modules",
"!**/*.tsbuildinfo",
"!packages/core/src/app/components/ui"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"overrides": [
{
"includes": ["**/slides/**", "apps/web/components/landing/**"],
"linter": {
"rules": {
"a11y": {
"noSvgWithoutTitle": "off",
"noStaticElementInteractions": "off",
"useAriaPropsSupportedByRole": "off",
"useSemanticElements": "off"
},
"performance": {
"noImgElement": "off"
},
"complexity": {
"noUselessFragments": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"suspicious": {
"noArrayIndexKey": "off",
"noTemplateCurlyInString": "off",
"noShadowRestrictedNames": "off"
}
}
}
}
],
"javascript": {
"formatter": {
"quoteStyle": "single",
"jsxQuoteStyle": "double",
"semicolons": "always",
"trailingCommas": "all",
"arrowParentheses": "always"
}
},
"css": {
"parser": {
"cssModules": true,
"tailwindDirectives": true
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}