diff --git a/biome.json b/biome.json index 41b3b95..d2ead4c 100644 --- a/biome.json +++ b/biome.json @@ -20,6 +20,9 @@ "recommended": true, "suspicious": { "noUnknownAtRules": "off" + }, + "complexity": { + "noStaticOnlyClass": "off" } }, "domains": { diff --git a/server/index.ts b/server/index.ts index fbff813..e45f4f5 100644 --- a/server/index.ts +++ b/server/index.ts @@ -1,4 +1,4 @@ -import Elysia, { t } from "elysia"; +import Elysia from "elysia"; import { health } from "./modules/health"; export const app = new Elysia({ prefix: "/api" }).use(health); diff --git a/server/modules/health/service.ts b/server/modules/health/service.ts index 23b7e52..27d24e4 100644 --- a/server/modules/health/service.ts +++ b/server/modules/health/service.ts @@ -1,7 +1,7 @@ -import { HealthModel } from "./model"; +import type { HealthModel } from "./model"; export abstract class Health { - static async check() { + static check() { return { status: "ok", } satisfies HealthModel["checkResponse"];