{
  "$schema": "https://biomejs.dev/schemas/2.4.7/schema.json",
  "assist": {
    "actions": {
      "source": {
        "organizeImports": "off"
      }
    },
    "enabled": true
  },
  "files": {
    "ignoreUnknown": false,
    "includes": [
      "packages/songwhip-api/*.{ts,json}",
      "app/**/*.{ts,json}",
      "migrations/**/*.ts",
      "test/**/*.{ts,json}",
      "!src/database/schema/generated/**/*.ts"
    ]
  },
  "formatter": {
    "enabled": true,
    "indentStyle": "space"
  },
  "javascript": {
    "formatter": {
      "quoteStyle": "single",
      "trailingCommas": "es5"
    }
  },
  "json": {
    "formatter": {
      "enabled": true
    }
  },
  "linter": {
    "enabled": true,
    "rules": {
      "performance": {
        "noAccumulatingSpread": "off",
        "noNamespaceImport": "warn"
      },
      "recommended": true,
      "style": {
        "noDefaultExport": "warn",
        "useNodejsImportProtocol": "warn"
      },
      "suspicious": {
        "noConfusingVoidType": "off",
        "noConsole": "warn",
        "noImportCycles": "warn",
        "noSkippedTests": "warn",
        "noImplicitAnyLet": "warn",
        "useIterableCallbackReturn": "warn",
        "noAssignInExpressions": "warn"
      },
      "complexity": {
        "useLiteralKeys": "off"
      }
    }
  },
  "overrides": [
    {
      "includes": ["test/**"],
      "linter": {
        "rules": {
          "performance": {
            "noNamespaceImport": "off"
          },
          "style": {
            "noNonNullAssertion": "off"
          },
          "suspicious": {
            "noExplicitAny": "warn",
            "noImplicitAnyLet": "off"
          },
          "complexity": {
            "useArrowFunction": "off"
          }
        }
      }
    }
  ],
  "vcs": {
    "clientKind": "git",
    "enabled": true,
    "useIgnoreFile": true,
    "root": "./"
  }
}
