{ "$schema": "https://biomejs.dev/schemas/2.6.7/schema.json", "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, "files": { "includes": ["**", "!**/build", "!package-lock.json", "!docs", "!packages/testcontainers/fixtures"] }, "formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2, "lineWidth": 120 }, "javascript": { "formatter": { "trailingCommas": "es5" } }, "markdown": { "parser": { "frontmatter": true } }, "linter": { "enabled": true, "rules": { "preset": "recommended", "complexity": { "noExcessiveCognitiveComplexity": "error", "noExcessiveLinesPerFunction": { "level": "error", "options": { "maxLines": 50 } } }, "correctness": { "noUndeclaredDependencies": "error" }, "nursery": { "noFloatingPromises": "error", "useNullishCoalescing": "error" }, "style": { "noUselessElse": "error", "useBlockStatements": "error", "useReadonlyClassProperties": "error" }, "suspicious": { "noImportCycles": "error", "noShadow": "error" } } }, "overrides": [ { "includes": ["**/*.test.ts"], "linter": { "rules": { "complexity": { "noExcessiveLinesPerFunction": "off" }, "correctness": { "noUndeclaredDependencies": "off" } } } }, { "includes": ["packages/**/src/**", "!packages/testcontainers/src/common/logger.ts"], "linter": { "rules": { "suspicious": { "noConsole": "error" } } } }, { "includes": ["packages/modules/**"], "linter": { "rules": { "style": { "noRestrictedImports": { "level": "error", "options": { "patterns": [ { "group": [ "testcontainers/**", "**/testcontainers/src/**", "!**/testcontainers/src/utils/test-helper" ], "message": "Modules must import from the public \"testcontainers\" entry point, not its internals." } ] } } } } } } ], "assist": { "enabled": true, "actions": { "source": { "organizeImports": "on" } } } }