{ "$schema": "https://biomejs.dev/schemas/2.3.8/schema.json", "linter": { "enabled": true, "rules": { "recommended": true, "a11y": { "useSemanticElements": "off", "useKeyWithClickEvents": "off", "noStaticElementInteractions": "off" }, "correctness": { "noUnsafeOptionalChaining": "off", "useExhaustiveDependencies": "off", "noUnusedImports": "warn", "useJsxKeyInIterable": "off", "useHookAtTopLevel": "off", "noUnusedFunctionParameters": "off", "noUnusedVariables": "off" }, "complexity": { "noBannedTypes": "off", "noUselessConstructor": "off", "useOptionalChain": "warn", "noStaticOnlyClass": "off", "noForEach": "off", "noUselessFragments": "off" }, "style": { "noNonNullAssertion": "off", "noInferrableTypes": "off", "noUnusedTemplateLiteral": "off", "useSingleVarDeclarator": "off", "noUselessElse": "off", "useNodejsImportProtocol": "off" }, "suspicious": { "noExplicitAny": "off", "noExtraNonNullAssertion": "off", "noRedeclare": "off", "noPrototypeBuiltins": "off", "noConfusingVoidType": "off", "noArrayIndexKey": "off", "noThenProperty": "off", "noExportsInTest": "off", "noNonNullAssertedOptionalChain": "off" }, "performance": { "noAccumulatingSpread": "off", "noDelete": "off" } } }, "assist": { "actions": { "source": { "organizeImports": "off" } } }, "formatter": { "indentStyle": "space", "indentWidth": 4 }, "javascript": { "formatter": { "semicolons": "always", "quoteStyle": "single", "jsxQuoteStyle": "single", "indentWidth": 4 } }, "json": { "formatter": { "indentWidth": 2 } }, "overrides": [ { "linter": { "rules": { "correctness": { "useHookAtTopLevel": "off" } } } } ], "files": { "includes": [ "**", "!**/node_modules", "!**/docker", "!**/bundle.js", "!**/website/build", "!**/website/docs/generated", "!**/website/global.js", "!**/website", "!**/setupJest.js", "!**/dist", "!**/build", "!**/src/migrations/**/*.js", "!**/src/test/examples/**/*.json", "!**/.docusaurus", "!**/coverage", "!**/CHANGELOG.md", "!package.json", "!frontend/package.json", "!src/migrations/package.json", "!**/.vite" ] } }