Enable ESLint errors and suppress existing violations (#10490)

This commit is contained in:
DS Boyce
2026-06-03 11:27:44 -07:00
committed by GitHub
parent cdad723ea1
commit 84d1785e12
16 changed files with 1879 additions and 68 deletions
+3 -3
View File
@@ -470,11 +470,11 @@ export async function draftToComposerPosts(
height,
mime: 'image/jpeg',
},
} as ComposerImage
} satisfies ComposerImage
})
const images = (await Promise.all(imagePromises)).filter(
(img): img is ComposerImage => img !== null,
(img): img is NonNullable<typeof img> => img !== null,
)
if (images.length > 0) {
embed.media = {type: 'images', images}
@@ -511,7 +511,7 @@ export async function draftToComposerPosts(
tinygif: mediaObject,
preview: mediaObject,
},
} as Gif,
},
alt: gifData.alt,
}
break