From f72c9b818c2a0989f8a190839aa72019082702b4 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sat, 2 Sep 2023 11:00:47 -0700 Subject: [PATCH] fix: :bulb: biome still uses `rome-ignore` --- packages/backend/src/global.d.ts | 2 +- packages/backend/src/services/chart/core.ts | 2 +- packages/backend/src/services/note/create.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/global.d.ts b/packages/backend/src/global.d.ts index 6c5a22e4b..503e26eb6 100644 --- a/packages/backend/src/global.d.ts +++ b/packages/backend/src/global.d.ts @@ -1,2 +1,2 @@ -// biome-ignore lint/suspicious/noExplicitAny: i have no idea +// rome-ignore lint/suspicious/noExplicitAny: i have no idea type FIXME = any; diff --git a/packages/backend/src/services/chart/core.ts b/packages/backend/src/services/chart/core.ts index e1aaaad4b..2fce4de91 100644 --- a/packages/backend/src/services/chart/core.ts +++ b/packages/backend/src/services/chart/core.ts @@ -472,7 +472,7 @@ export default abstract class Chart { protected commit(diff: Commit, group: string | null = null): void { for (const [k, v] of Object.entries(diff)) { if (v == null || v === 0 || (Array.isArray(v) && v.length === 0)) - // biome-ignore lint/performance/noDelete: needs to be deleted not just set to undefined + // rome-ignore lint/performance/noDelete: needs to be deleted not just set to undefined delete diff[k]; } this.buffer.push({ diff --git a/packages/backend/src/services/note/create.ts b/packages/backend/src/services/note/create.ts index b39a85783..689bd6616 100644 --- a/packages/backend/src/services/note/create.ts +++ b/packages/backend/src/services/note/create.ts @@ -169,7 +169,7 @@ export default async ( data: Option, silent = false, ) => - // biome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME + // rome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME new Promise(async (res, rej) => { const dontFederateInitially = data.visibility === "hidden";