{
    "$schema": "https://biomejs.dev/schemas/2.4.12/schema.json",
    "vcs": {
        "enabled": true,
        "clientKind": "git",
        "useIgnoreFile": true
    },
    "files": {
        "ignoreUnknown": false,
        "includes": ["resources/js/**", "!resources/js/components/ui/**"]
    },
    "formatter": {
        "enabled": false
    },
    "assist": {
        "enabled": true,
        "actions": {
            "source": {
                "organizeImports": "on"
            }
        }
    },
    "linter": {
        "enabled": true,
        "rules": {
            "recommended": true,
            "complexity": {
                "noForEach": "error",
                "noUselessFragments": "error"
            },
            "correctness": {
                "noUnusedVariables": "error",
                "noUnusedImports": "error",
                "noChildrenProp": "error",
                "useExhaustiveDependencies": "error",
                "useHookAtTopLevel": "error"
            },
            "security": {
                "noDangerouslySetInnerHtml": "warn"
            },
            "style": {
                "useBlockStatements": "error",
                "useConst": "error",
                "useImportType": "error",
                "useTemplate": "error"
            },
            "suspicious": {
                "noConsole": "off",
                "noExplicitAny": "off",
                "noArrayIndexKey": "warn"
            },
            "a11y": {
                "useAltText": "error",
                "useAnchorContent": "error"
            }
        }
    }
}
