Luigit
repositories / will

will

owned by admin

biome.json

Raw
{
  "$schema": "https://biomejs.dev/schemas/2.3.4/schema.json",
  "files": {
    "includes": [
      "**/*.ts",
      "**/*.mts",
      "**/*.mjs",
      "**/*.json",
      "**/*.css",
      "**/*.md",
      "!dist",
      "!node_modules",
      "!coverage",
      "!web/dist",
      "!docs/dist",
      "!web/tests"
    ]
  },
  "formatter": {
    "enabled": true,
    "indentStyle": "space",
    "indentWidth": 2,
    "lineWidth": 100
  },
  "linter": {
    "enabled": true,
    "rules": {
      "recommended": true,
      "suspicious": {
        "noExplicitAny": "error"
      },
      "style": {
        "useImportType": "error"
      },
      "correctness": {
        "noUnusedVariables": "error",
        "noUnusedImports": "error"
      }
    }
  },
  "assist": {
    "actions": {
      "source": {
        "organizeImports": "on"
      }
    }
  },
  "javascript": {
    "formatter": {
      "quoteStyle": "single",
      "semicolons": "asNeeded"
    }
  },
  "overrides": [
    {
      "includes": ["web/src/**"],
      "javascript": {
        "globals": [
          "document",
          "window",
          "console",
          "EventSource",
          "fetch",
          "URLSearchParams",
          "history",
          "location",
          "HTMLElement",
          "AbortController",
          "DOMParser",
          "Node",
          "MessageEvent",
          "Text",
          "EventSourceEventMap"
        ]
      }
    }
  ]
}