{
  "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
  "organizeImports": {
    "enabled": true
  },
  "vcs": {
    "defaultBranch": "main"
  },
  "formatter": {
    "enabled": true,
    "indentStyle": "space"
  },
  "javascript": {
    "formatter": {
      "indentWidth": 3,
      "lineWidth": 100,
      "indentStyle": "space"
    }
  },
  "css": {
    "formatter": {
      "indentWidth": 3
    }
  },
  "json": {
    "formatter": {
      "indentWidth": 2,
      "lineWidth": 80,
      "indentStyle": "space"
    }
  },
  "files": {
    "ignore": [
      "**/node_modules/**",
      "node_modules/**",
      "**/.cache/**",
      "**/.wrangler/**",
      "**/build/**",
      "**/dist/**",
      "**/data.sqld/**",
      "data.sqld/**",
      "public/**",
      ".history/**"
    ]
  },
  "linter": {
    "enabled": true,
    "ignore": ["**/*.spec.ts"],
    "rules": {
      "recommended": true,
      "a11y": {
        "all": false
      },
      "correctness": {
        "useExhaustiveDependencies": "off",
        "noUnreachable": "warn",
        "noChildrenProp": "off",
        "noSwitchDeclarations": "warn"
      },
      "complexity": {
        "noUselessFragments": "warn",
        "noStaticOnlyClass": "off",
        "noForEach": "off",
        "useLiteralKeys": "warn",
        "noBannedTypes": "off",
        "useOptionalChain": "warn"
      },
      "suspicious": {
        "noExplicitAny": "off",
        "noArrayIndexKey": "off",
        "noImplicitAnyLet": "warn",
        "noConfusingVoidType": "off",
        "noConsoleLog": "warn"
      },
      "security": {
        "noDangerouslySetInnerHtml": "off"
      },
      "style": {
        "noNonNullAssertion": "off",
        "noInferrableTypes": "off",
        "useTemplate": "off",
        "noUselessElse": "off",
        "useConst": "warn",
        "useImportType": "warn",
        "noUnusedTemplateLiteral": "warn",
        "useSelfClosingElements": "warn"
      }
    }
  }
}
