{
    "$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
    "assist": {
        "actions": {
            "source": {
                "organizeImports": {
                    "options": {
                        "groups": [
                            ":URL:",
                            ":BLANK_LINE:",
                            { "type": false, "source": [":NODE:", ":BUN:"] },
                            ":BLANK_LINE:",
                            { "type": false, "source": [":PACKAGE_WITH_PROTOCOL:", ":PACKAGE:"] },
                            ":BLANK_LINE:",
                            {
                                "type": false,
                                "source": [
                                    "@/**",
                                    ":ALIAS:",
                                    "@forms/**",
                                    "@utils/**",
                                    "@views/**",
                                    "@schemas/**",
                                    "@components/**",
                                    "@foundry/data/**"
                                ]
                            },
                            ":BLANK_LINE:",
                            { "type": false, "source": "./**" },
                            { "type": false, "source": ["../**", ":PATH:"] },
                            ":BLANK_LINE:",
                            { "type": true, "source": [":NODE:", ":BUN:"] },
                            { "type": true, "source": [":PACKAGE_WITH_PROTOCOL:", ":PACKAGE:"] },
                            {
                                "type": true,
                                "source": [
                                    "@/**",
                                    ":ALIAS:",
                                    "@forms/**",
                                    "@utils/**",
                                    "@views/**",
                                    "@schemas/**",
                                    "@components/**",
                                    "@foundry/data/**"
                                ]
                            },
                            { "type": true, "source": "./**" },
                            { "type": true, "source": ["../**", ":PATH:"] }
                        ],
                        "identifierOrder": "natural"
                    },
                    "level": "on"
                }
            }
        }
    },
    "formatter": {
        "enabled": true,
        "lineWidth": 120,
        "indentStyle": "space",
        "indentWidth": 4,
        "attributePosition": "auto",
        "bracketSameLine": false,
        "bracketSpacing": true,
        "expand": "auto",
        "formatWithErrors": false,
        "useEditorconfig": true,
        "lineEnding": "lf"
    },
    "javascript": {
        "formatter": {
            "jsxQuoteStyle": "double",
            "indentWidth": 4,
            "trailingCommas": "none"
        }
    },
    "linter": {
        "enabled": true,
        "rules": {
            "complexity": {
                "noExcessiveLinesPerFunction": {
                    "level": "info",
                    "options": {
                        "skipBlankLines": true,
                        "skipIifes": true,
                        "maxLines": 100
                    }
                }
            },
            "correctness": {
                "noChildrenProp": "warn",
                "noEmptyPattern": "warn",
                "noUnusedFunctionParameters": {
                    "fix": "safe",
                    "level": "info",
                    "options": {
                        "ignoreRestSiblings": true
                    }
                },
                "noUnusedLabels": "info",
                "noUnusedImports": "info",
                "noUnusedVariables": {
                    "level": "info",
                    "fix": "none",
                    "options": {
                        "ignoreRestSiblings": true
                    }
                },
                "noSolidDestructuredProps": "warn"
            },
            "performance": {
                "noAwaitInLoops": "info",
                "useSolidForComponent": "warn"
            },
            "recommended": true,
            "suspicious": {
                "noDebugger": "info",
                "noExplicitAny": "info",
                "noAssignInExpressions": "warn",
                "noReactSpecificProps": "warn",
                "noShadowRestrictedNames": "warn"
            }
        }
    },
    "files": {
        "ignoreUnknown": true,
        "maxSize": 100000,
        "includes": ["src/**/*"]
    }
}
