{
  "$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
  "files": {
    "includes": [
      "**/*",
      "!node_modules",
      "!ios",
      "!android",
      "!Streamyfin.app",
      "!utils/jellyseerr",
      "!expo-env.d.ts",
      "!modules/**/android/build",
      "!.expo",
      "!docs/jellyfin-openapi-stable.json"
    ]
  },
  "linter": {
    "enabled": true,
    "rules": {
      "style": {
        "useImportType": "off",
        "noNonNullAssertion": "off",
        "noParameterAssign": "off",
        "useLiteralEnumMembers": "off"
      },
      "complexity": {
        "noForEach": "off"
      },
      "recommended": true,
      "correctness": {
        "useExhaustiveDependencies": "off"
      },
      "suspicious": {
        "noExplicitAny": "off",
        "noArrayIndexKey": "off"
      }
    }
  },
  "formatter": {
    "enabled": true,
    "formatWithErrors": true,
    "attributePosition": "auto",
    "indentStyle": "space",
    "indentWidth": 2,
    "lineEnding": "lf",
    "lineWidth": 80
  },
  "javascript": {
    "formatter": {
      "arrowParentheses": "always",
      "bracketSameLine": false,
      "bracketSpacing": true,
      "jsxQuoteStyle": "single",
      "quoteProperties": "asNeeded",
      "semicolons": "always",
      "lineWidth": 80
    }
  },
  "json": {
    "formatter": {
      "trailingCommas": "none"
    }
  }
}
