{
  "$schema": "https://biomejs.dev/schemas/2.2.4/schema.json",
  "assist": { "actions": { "source": { "organizeImports": "on" } } },
  "vcs": {
    "enabled": true,
    "clientKind": "git",
    "useIgnoreFile": true
  },
  "files": {
    "includes": [
      "**",
      "!**/.devcontainer/**",
      "!**/docs/**",
      "!**/translations/**",
      "!**/policies/**",
      "!**/crates/**",
      "!**/frontend/package.json",
      "!**/frontend/src/gql/**",
      "!**/frontend/src/routeTree.gen.ts",
      "!**/frontend/.storybook/locales.ts",
      "!**/frontend/.storybook/public/mockServiceWorker.js",
      "!**/frontend/locales/**/*.json",
      "!**/coverage/**",
      "!**/dist/**"
    ]
  },
  "formatter": {
    "enabled": true,
    "useEditorconfig": true
  },
  "linter": {
    "enabled": true,
    "rules": {
      "recommended": true,
      "complexity": {
        "noImportantStyles": "off"
      },
      "suspicious": {
        "noUnknownAtRules": "off"
      },
      "correctness": {
        "noUnusedImports": "warn",
        "noUnusedVariables": "warn"
      },
      "style": {
        "noParameterAssign": "error",
        "useAsConstAssertion": "error",
        "useDefaultParameterLast": "error",
        "useEnumInitializers": "error",
        "useSelfClosingElements": "error",
        "useSingleVarDeclarator": "error",
        "noUnusedTemplateLiteral": "error",
        "useNumberNamespace": "error",
        "noInferrableTypes": "error",
        "noUselessElse": "error",
        "noDescendingSpecificity": "off"
      }
    }
  }
}
