fix: 💡 biome still uses rome-ignore

This commit is contained in:
ThatOneCalculator 2023-09-02 11:00:47 -07:00
parent d0d35cc368
commit f72c9b818c
No known key found for this signature in database
GPG key ID: 8703CACD01000000
3 changed files with 3 additions and 3 deletions

View file

@ -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; type FIXME = any;

View file

@ -472,7 +472,7 @@ export default abstract class Chart<T extends Schema> {
protected commit(diff: Commit<T>, group: string | null = null): void { protected commit(diff: Commit<T>, group: string | null = null): void {
for (const [k, v] of Object.entries(diff)) { for (const [k, v] of Object.entries(diff)) {
if (v == null || v === 0 || (Array.isArray(v) && v.length === 0)) 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]; delete diff[k];
} }
this.buffer.push({ this.buffer.push({

View file

@ -169,7 +169,7 @@ export default async (
data: Option, data: Option,
silent = false, silent = false,
) => ) =>
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME // rome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
new Promise<Note>(async (res, rej) => { new Promise<Note>(async (res, rej) => {
const dontFederateInitially = data.visibility === "hidden"; const dontFederateInitially = data.visibility === "hidden";