mirror of https://github.com/buster-so/buster.git
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
|
|
"extends": ["../../biome2.json"],
|
|
"files": {
|
|
"includes": ["!**/routeTree.gen.ts", "!.vercel", "!.nitro", "!.storybook"]
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnusedVariables": "off",
|
|
"noUnusedImports": "off",
|
|
"useExhaustiveDependencies": "off",
|
|
"noChildrenProp": "off",
|
|
"useUniqueElementIds": "off",
|
|
"useParseIntRadix": "off",
|
|
"noUnusedFunctionParameters": "warn"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "error",
|
|
"useImportType": "warn",
|
|
"useNodejsImportProtocol": "error",
|
|
"useConsistentArrayType": "error",
|
|
"noUnusedTemplateLiteral": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "error",
|
|
"noConsole": "off",
|
|
"noArrayIndexKey": "off",
|
|
"noTemplateCurlyInString": "off"
|
|
},
|
|
"complexity": {
|
|
"noExcessiveCognitiveComplexity": "off",
|
|
"noForEach": "off"
|
|
},
|
|
"nursery": {
|
|
"useSortedClasses": "off"
|
|
},
|
|
"performance": {
|
|
"noDelete": "error"
|
|
},
|
|
"a11y": {
|
|
"noSvgWithoutTitle": "off",
|
|
"useKeyWithClickEvents": "off",
|
|
"noStaticElementInteractions": "off",
|
|
"useMediaCaption": "off",
|
|
"useHeadingContent": "off"
|
|
}
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"includes": ["**/*.stories.tsx"],
|
|
"linter": {
|
|
"enabled": false
|
|
}
|
|
}
|
|
]
|
|
}
|