Remove irrelevant eslint-disable

This commit is contained in:
dangered wolf 2023-08-28 02:24:13 -04:00 committed by GitHub
parent 664fc38ebc
commit b84568d87d
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,6 @@ const generateTweetMedia = (tweet: APITweet): string => {
case 'photo':
// eslint-disable-next-line no-case-declarations
const { altText } = mediaItem as APIPhoto;
// eslint-disable-next-line sonarjs/no-nested-template-literals
media += `<img src="{url}" {altText}/>`.format({
altText: altText ? `alt="${altText}"` : '',
url: mediaItem.url