Fix errors flagged by Biome

This commit is contained in:
Jesse Wierzbinski 2024-04-14 01:22:47 -10:00
parent 27354f2d74
commit e67dc07473
No known key found for this signature in database
6 changed files with 9 additions and 8 deletions

View file

@ -1,3 +1,4 @@
import { dualLogger } from "@loggers";
import { sanitizeHtml } from "@sanitization";
import { config } from "config-manager";
import {
@ -35,7 +36,6 @@ import {
statusToMentions,
user,
} from "~drizzle/schema";
import { dualLogger } from "@loggers";
import { LogLevel } from "~packages/log-manager";
import type { Note } from "~types/lysand/Object";
import type { Attachment as APIAttachment } from "~types/mastodon/attachment";

View file

@ -1,4 +1,5 @@
import { getBestContentType, urlToContentFormat } from "@content_types";
import { dualLogger } from "@loggers";
import { addUserToMeilisearch } from "@meilisearch";
import { type Config, config } from "config-manager";
import { type InferSelectModel, and, eq, sql } from "drizzle-orm";
@ -12,7 +13,6 @@ import {
relationship,
user,
} from "~drizzle/schema";
import { dualLogger } from "@loggers";
import { LogLevel } from "~packages/log-manager";
import type { Account as APIAccount } from "~types/mastodon/account";
import type { Source as APISource } from "~types/mastodon/source";