{ "$schema": "https://biomejs.dev/schemas/1.9.0/schema.json", "files": { "ignore": ["**/dist/**", "false/**", "**/node_modules/**"] }, "organizeImports": { "enabled": true }, "formatter": { "indentStyle": "space", "indentWidth": 2, "lineWidth": 100 }, "javascript": { "formatter": { "quoteStyle": "double", "semicolons": "always" } }, "overrides": [ { "include": ["tsup.config.ts", "*/rslib.config.ts", "packages/khala/src/index.ts"], "linter": { "rules": { "style": { "noDefaultExport": "off" } } } }, { "include": ["**/__tests__/**"], "linter": { "rules": { "suspicious": { "noExplicitAny": "off" }, "style": { "noNonNullAssertion": "off" } } } } ], "linter": { "enabled": true, "rules": { "recommended": true, "style": { "noDefaultExport": "error", "useNodejsImportProtocol": "error", "noNamespace": "error", "noParameterProperties": "error", "useImportType": "error", "useShorthandFunctionType": "error", "noVar": "error", "useConst": "error", "useEnumInitializers": "error" }, "complexity": { "noThisInStatic": "error", "noStaticOnlyClass": "error", "noForEach": "error", "useArrowFunction": "error", "noExcessiveCognitiveComplexity": { "level": "warn", "options": { "maxAllowedComplexity": 15 } } }, "suspicious": { "noExplicitAny": "error" }, "correctness": { "noUnusedVariables": "error", "noUnusedImports": "error" } } } }