mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 18:40:56 +01:00
Remove irrelevant eslint-disable
This commit is contained in:
parent
664fc38ebc
commit
b84568d87d
1 changed files with 0 additions and 1 deletions
|
@ -24,7 +24,6 @@ const generateTweetMedia = (tweet: APITweet): string => {
|
||||||
case 'photo':
|
case 'photo':
|
||||||
// eslint-disable-next-line no-case-declarations
|
// eslint-disable-next-line no-case-declarations
|
||||||
const { altText } = mediaItem as APIPhoto;
|
const { altText } = mediaItem as APIPhoto;
|
||||||
// eslint-disable-next-line sonarjs/no-nested-template-literals
|
|
||||||
media += `<img src="{url}" {altText}/>`.format({
|
media += `<img src="{url}" {altText}/>`.format({
|
||||||
altText: altText ? `alt="${altText}"` : '',
|
altText: altText ? `alt="${altText}"` : '',
|
||||||
url: mediaItem.url
|
url: mediaItem.url
|
||||||
|
|
Loading…
Add table
Reference in a new issue