{ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "organizeImports": { "enabled": true }, "linter": { "enabled": true, "rules": { "recommended": true, "correctness": { "noUnusedVariables": "error", "noUnusedImports": "off", "useExhaustiveDependencies": "warn" }, "style": { "noNonNullAssertion": "error", "useImportType": "warn", "useNodejsImportProtocol": "error", "useConsistentArrayType": "error", "noUnusedTemplateLiteral": "off" }, "suspicious": { "noExplicitAny": "error", "noConsoleLog": "warn" }, "complexity": { "noExcessiveCognitiveComplexity": "off", "noForEach": "off" }, "performance": { "noDelete": "error" } } }, "formatter": { "enabled": true, "formatWithErrors": false, "indentStyle": "space", "indentWidth": 2, "lineWidth": 100, "lineEnding": "lf", "ignore": [ "**/node_modules/**", "**/dist/**", "**/build/**", "**/coverage/**", "**/.next/**", "**/drizzle/**" ] }, "javascript": { "formatter": { "quoteStyle": "single", "jsxQuoteStyle": "single", "trailingCommas": "es5", "semicolons": "always", "arrowParentheses": "always" } }, "json": { "formatter": { "enabled": true } }, "files": { "include": [ "packages/**/*.ts", "packages/**/*.tsx", "packages/**/*.js", "packages/**/*.jsx", "packages/**/*.json", "packages/**/*.mjs", "packages/**/*.cjs", "packages/**/*.mts", "packages/**/*.cts", "packages/**/package.json", "packages/**/tsconfig.json", "packages/**/*.config.js", "packages/**/*.config.ts", "server/**/*.ts", "server/**/*.js", "trigger/**/*.ts", "trigger/**/*.js", "vitest.config.ts", "biome.json", "./package.json", "./turbo.json" ], "ignore": [ "**/node_modules/**", "**/dist/**", "**/build/**", "**/coverage/**", "**/.next/**", "**/target/**", "**/drizzle/**", "**/*.d.ts", "**/generated/**", "**/.trigger/**", "**/.mastra/**", "**/output/**", "**/playground/**", "/api/**", "cli/**", "packages/**/node_modules/**", "packages/**/dist/**", "packages/**/build/**", "apps/web/**" ] }, "overrides": [ { "include": [ "**/tests/**/*", "**/test/**/*", "**/__tests__/**/*", "**/*.test.*", "**/*.spec.*", "**/*.setup.*", "**/setup.*" ], "linter": { "rules": { "style": { "noNonNullAssertion": "off" }, "correctness": { "noUnusedVariables": "off" }, "suspicious": { "noConsoleLog": "off", "noExplicitAny": "off" }, "performance": { "noDelete": "off" } } } }, { "include": ["**/*.js"], "linter": { "rules": { "suspicious": { "noConsoleLog": "off" } } } }, { "include": ["**/*.stories.tsx"], "linter": { "rules": { "style": { "noNonNullAssertion": "off" }, "correctness": { "noUnusedVariables": "off" } } } } ] }