mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
chore: ⬆️ Upgrade to Biome 2.0
This commit is contained in:
parent
e7aec8752c
commit
963173cdae
174 changed files with 412 additions and 379 deletions
|
|
@ -1,15 +1,15 @@
|
|||
import { getLogger } from "@logtape/logtape";
|
||||
import type { RolePermission } from "@versia/client/schemas";
|
||||
import { Application, Emoji, Note, Token, User, db } from "@versia/kit/db";
|
||||
import { Application, db, Emoji, Note, Token, User } from "@versia/kit/db";
|
||||
import { Challenges } from "@versia/kit/tables";
|
||||
import { extractParams, verifySolution } from "altcha-lib";
|
||||
import { SHA256 } from "bun";
|
||||
import chalk from "chalk";
|
||||
import { type SQL, eq } from "drizzle-orm";
|
||||
import { eq, type SQL } from "drizzle-orm";
|
||||
import type { Context, Hono, MiddlewareHandler } from "hono";
|
||||
import { validator } from "hono-openapi/zod";
|
||||
import { every } from "hono/combine";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
import { validator } from "hono-openapi/zod";
|
||||
import {
|
||||
anyOf,
|
||||
caseInsensitive,
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@ import { mkdir } from "node:fs/promises";
|
|||
import { dirname } from "node:path";
|
||||
import { getRotatingFileSink } from "@logtape/file";
|
||||
import {
|
||||
type LogLevel,
|
||||
type LogRecord,
|
||||
configure,
|
||||
getConsoleSink,
|
||||
getLevelFilter,
|
||||
type LogLevel,
|
||||
type LogRecord,
|
||||
} from "@logtape/logtape";
|
||||
import chalk from "chalk";
|
||||
import { config } from "~/config.ts";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue