{
    "$schema": "https://biomejs.dev/schemas/2.4.9/schema.json",
    "vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
    "files": { "ignoreUnknown": false, "includes": ["**"] },
    "formatter": {
        "enabled": true,
        "useEditorconfig": true,
        "formatWithErrors": false,
        "indentStyle": "space",
        "indentWidth": 4,
        "lineEnding": "lf",
        "lineWidth": 100,
        "attributePosition": "auto",
        "bracketSpacing": true,
        "includes": ["**", "!**/node_modules/", "!**/build/", "!**/.cache/"]
    },
    "assist": { "actions": { "source": { "organizeImports": "on" } } },
    "linter": {
        "enabled": true,
        "rules": {
            "recommended": false,
            "complexity": { "noBannedTypes": "warn" },
            "style": { "useBlockStatements": "off", "useConsistentArrayType": "warn" },
            "suspicious": { "noConfusingVoidType": "warn" }
        },
        "includes": ["**", "!__generated__/**/*"]
    },
    "javascript": {
        "formatter": {
            "jsxQuoteStyle": "double",
            "quoteProperties": "asNeeded",
            "trailingCommas": "es5",
            "semicolons": "always",
            "arrowParentheses": "always",
            "bracketSameLine": false,
            "quoteStyle": "single",
            "attributePosition": "auto",
            "bracketSpacing": true
        }
    },
    "overrides": [
        { "includes": ["**/*.yml", "**/*.yaml"], "formatter": { "indentWidth": 2 } },
        {
            "includes": ["**/__tests__/**/*", "**/lib/test-utils/**/*", "**/tests/**/*", "**/scripts/**/*"],
            "linter": {
                "rules": {
                    "complexity": { "noBannedTypes": "off", "noStaticOnlyClass": "off" },
                    "style": { "noNonNullAssertion": "off" }
                }
            }
        },
        {
            "includes": ["**/__tests__/**/*", "**/lib/test-utils/**/*", "**/tests/**/*", "**/scripts/**/*"],
            "linter": {
                "rules": {
                    "complexity": { "noBannedTypes": "off", "noStaticOnlyClass": "off" },
                    "style": { "noNonNullAssertion": "off" }
                }
            }
        }
    ]
}
