{
    "$schema": "https://biomejs.dev/schemas/2.5.3/schema.json",
    "files": {
        "ignoreUnknown": true,
        "includes": [
            "**",
            "!lib",
            "!dist",
            "!coverage",
            "!storybook-static",
            "!node_modules",
            "!package-lock.json",
            "!CHANGELOG.md"
        ]
    },
    "formatter": {
        "enabled": true,
        "formatWithErrors": false,
        "indentStyle": "space",
        "indentWidth": 2,
        "lineWidth": 100,
        "lineEnding": "lf"
    },
    "assist": {
        "enabled": true,
        "actions": {
            "source": {
                "organizeImports": "on"
            }
        }
    },
    "linter": {
        "enabled": true,
        "domains": {
            "react": "recommended",
            "reactNative": "recommended"
        },
        "rules": {
            "preset": "recommended",
            "complexity": {
                "noStaticOnlyClass": "off"
            },
            "style": {
                "useBlockStatements": "error"
            },
            "nursery": {
                "noReactNativeDeepImports": "error",
                "noReactNativeLiteralColors": "warn",
                "noReactNativeRawText": "error",
                "useReactNativePlatformComponents": "error"
            }
        }
    },
    "javascript": {
        "formatter": {
            "quoteStyle": "single",
            "jsxQuoteStyle": "double",
            "semicolons": "always",
            "trailingCommas": "all",
            "arrowParentheses": "always"
        }
    },
    "json": {
        "formatter": {
            "indentStyle": "space",
            "indentWidth": 4,
            "trailingCommas": "none"
        }
    }
}
