2025-08-12 11:28:36 +08:00
|
|
|
{
|
2025-10-03 01:46:33 +08:00
|
|
|
"$schema": "https://biomejs.dev/schemas/2.2.5/schema.json",
|
2025-09-24 11:30:12 +08:00
|
|
|
"extends": ["../../biome2.json"],
|
2025-08-12 11:28:36 +08:00
|
|
|
"files": {
|
2025-09-24 11:30:12 +08:00
|
|
|
"includes": ["!**/routeTree.gen.ts", "!.vercel", "!.nitro", "!.storybook"]
|
2025-08-12 11:28:36 +08:00
|
|
|
},
|
|
|
|
"linter": {
|
|
|
|
"enabled": true,
|
|
|
|
"rules": {
|
|
|
|
"recommended": true,
|
|
|
|
"correctness": {
|
2025-08-13 03:21:24 +08:00
|
|
|
"noUnusedVariables": "off",
|
2025-08-12 11:28:36 +08:00
|
|
|
"noUnusedImports": "off",
|
2025-08-13 12:37:41 +08:00
|
|
|
"useExhaustiveDependencies": "off",
|
2025-08-16 03:27:33 +08:00
|
|
|
"noChildrenProp": "off",
|
2025-08-21 23:51:38 +08:00
|
|
|
"useUniqueElementIds": "off",
|
2025-09-14 08:13:00 +08:00
|
|
|
"useParseIntRadix": "off",
|
|
|
|
"noUnusedFunctionParameters": "warn"
|
2025-08-12 11:28:36 +08:00
|
|
|
},
|
|
|
|
"style": {
|
|
|
|
"noNonNullAssertion": "error",
|
|
|
|
"useImportType": "warn",
|
|
|
|
"useNodejsImportProtocol": "error",
|
|
|
|
"useConsistentArrayType": "error",
|
|
|
|
"noUnusedTemplateLiteral": "off"
|
|
|
|
},
|
|
|
|
"suspicious": {
|
|
|
|
"noExplicitAny": "error",
|
2025-08-13 03:21:24 +08:00
|
|
|
"noConsole": "off",
|
2025-08-13 13:27:34 +08:00
|
|
|
"noArrayIndexKey": "off",
|
|
|
|
"noTemplateCurlyInString": "off"
|
2025-08-12 11:28:36 +08:00
|
|
|
},
|
|
|
|
"complexity": {
|
|
|
|
"noExcessiveCognitiveComplexity": "off",
|
|
|
|
"noForEach": "off"
|
|
|
|
},
|
2025-08-14 06:08:21 +08:00
|
|
|
"nursery": {
|
|
|
|
"useSortedClasses": "off"
|
|
|
|
},
|
2025-08-12 11:28:36 +08:00
|
|
|
"performance": {
|
|
|
|
"noDelete": "error"
|
2025-08-13 03:21:24 +08:00
|
|
|
},
|
|
|
|
"a11y": {
|
|
|
|
"noSvgWithoutTitle": "off",
|
|
|
|
"useKeyWithClickEvents": "off",
|
2025-09-02 13:00:17 +08:00
|
|
|
"noStaticElementInteractions": "off",
|
|
|
|
"useMediaCaption": "off",
|
|
|
|
"useHeadingContent": "off"
|
2025-08-12 11:28:36 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-08-13 12:37:41 +08:00
|
|
|
"overrides": [
|
2025-08-13 13:27:34 +08:00
|
|
|
{
|
|
|
|
"includes": ["**/*.stories.tsx"],
|
|
|
|
"linter": {
|
|
|
|
"enabled": false
|
|
|
|
}
|
2025-09-14 08:13:00 +08:00
|
|
|
}
|
2025-09-24 11:30:12 +08:00
|
|
|
]
|
2025-08-12 11:28:36 +08:00
|
|
|
}
|