Skip to content

Commit ca88321

Browse files
fix: disable @typescript-eslint/no-misused-spread (#1396)
1 parent 8702023 commit ca88321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ts/common/translator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Translator {
3333
let result = text;
3434

3535
for (const targetEmoji of ALLOWED_TWEMOJI) {
36-
// eslint-disable-next-line no-magic-numbers
36+
// eslint-disable-next-line no-magic-numbers, @typescript-eslint/no-misused-spread
3737
const codePoints = [...targetEmoji].map((emoji) => emoji.codePointAt(0)?.toString(16)).join("-");
3838
const twemojiURL = new URL(`${codePoints}.svg`, this.twemojiEndpoint).href;
3939
const img = `<img src="${twemojiURL}" alt="${targetEmoji}" class="twemoji">`;

0 commit comments

Comments
 (0)