Home / File/ biome.jsonc — astro Source File

biome.jsonc — astro Source File

Architecture documentation for biome.jsonc, a json file in the astro codebase.

Entity Profile

Source Code

{
  "$schema": "https://biomejs.dev/schemas/2.3.6/schema.json",
  "files": {
    "includes": [
      "**",
      "!**/vendor",
      "!!**/smoke",
      "!!**/fixtures",
      "!!**/fixture",
      "!!**/_temp-fixtures",
      "!!**/dist",
      "packages/language-tools/vscode/syntaxes/*.json",
      "!!**/.vscode-test",
      "!!benchmark/static-projects"
    ]
  },
  "vcs": {
    "enabled": true,
    "clientKind": "git",
    "useIgnoreFile": true
  },
  "formatter": {
    "indentStyle": "tab",
    "indentWidth": 2,
    "lineWidth": 100,
    "includes": ["**", "!**/.changeset", "!**/pnpm-lock.yaml", "!**/*.astro"],
    "expand": "auto"
  },
  "assist": {
    "actions": {
      "source": {
        "organizeImports": "off"
      }
    }
  },
  "linter": {
    "enabled": true,

    "domains": {
      "test": "recommended"
    },
    "rules": {
      "recommended": false,
      "style": {
        "useNodejsImportProtocol": "error",
        // Enforce separate type imports for type-only imports to avoid bundling unneeded code
        "useImportType": "error"
      },
      "suspicious": {
        // This one is specific to catch `console.log`. The rest of logs are permitted
        "noConsole": {
          "level": "warn",
          "options": {
            "allow": ["error", "warn", "info", "debug"]
          }
        }
      },
      "correctness": {
        "noUnusedVariables": {
          "level": "error",
// ... (108 more lines)

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free