{
  "$schema": "https://biomejs.dev/schemas/2.4.14/schema.json",
  "assist": {
    "actions": {
      "source": {
        "organizeImports": "on"
      }
    },
    "enabled": true
  },
  "files": {
    "ignoreUnknown": false,
    "includes": [
      "api/**/*.{ts,json}",
      "lib/**/*.{ts,json}",
      "test/**/*.{ts,json}",
      "packages/songwhip-analytics/**/*.{ts,json}"
    ]
  },
  "formatter": {
    "enabled": true,
    "indentStyle": "space"
  },
  "javascript": {
    "formatter": {
      "quoteStyle": "single"
    }
  },
  "json": {
    "formatter": {
      "enabled": true
    }
  },
  "linter": {
    "enabled": true,
    "rules": {
      "performance": {
        "noAccumulatingSpread": "warn",
        "noNamespaceImport": "warn"
      },
      "recommended": true,
      "style": {
        "noDefaultExport": "warn"
      },
      "suspicious": {
        "noConfusingVoidType": "off",
        "noConsole": "warn",
        "noImportCycles": "error",
        "noSkippedTests": "error",
        "useIterableCallbackReturn": "warn",
        "noAssignInExpressions": "warn"
      }
    }
  },
  "overrides": [
    {
      "includes": ["api/**"],
      "linter": {
        "rules": {
          "style": {
            "noDefaultExport": "off"
          }
        }
      }
    },
    {
      "includes": ["test/**"],
      "linter": {
        "rules": {
          "style": {
            "noNonNullAssertion": "off"
          }
        }
      }
    }
  ],
  "vcs": {
    "clientKind": "git",
    "enabled": true,
    "useIgnoreFile": true
  }
}
