fix: 💡 biome still uses rome-ignore
This commit is contained in:
parent
d0d35cc368
commit
f72c9b818c
2
packages/backend/src/global.d.ts
vendored
2
packages/backend/src/global.d.ts
vendored
@ -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;
|
||||||
|
@ -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({
|
||||||
|
@ -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";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user