From 592a9763ab3c96b5fb49f5e22cc5a2c34990b5d9 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Tue, 31 May 2022 22:39:25 -0700 Subject: [PATCH] Fix eslint in commands/join --- client/js/commands/join.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/js/commands/join.ts b/client/js/commands/join.ts index 5bb40aec..1932b806 100644 --- a/client/js/commands/join.ts +++ b/client/js/commands/join.ts @@ -13,7 +13,6 @@ function input(args: string[]) { if (chanTypes && chanTypes.length > 0) { for (let c = 0; c < channelList.length; c++) { if (!chanTypes.includes(channelList[c][0])) { - // eslint-disable-next-line @typescript-eslint/restrict-plus-operands channelList[c] = chanTypes[0] + channelList[c]; } } @@ -27,7 +26,6 @@ function input(args: string[]) { switchToChannel(chan); } else { socket.emit("input", { - // eslint-disable-next-line @typescript-eslint/restrict-template-expressions text: `/join ${channels} ${args.length > 1 ? args[1] : ""}`, target: store.state.activeChannel.channel.id, });