From d60d970cae24083219692239cd7f2fb6767b57c1 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Mon, 16 Jun 2025 19:33:43 -0400 Subject: [PATCH] Lint --- packages/redux-devtools-cli/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/redux-devtools-cli/src/index.ts b/packages/redux-devtools-cli/src/index.ts index 6d601610..c5e1f2f2 100644 --- a/packages/redux-devtools-cli/src/index.ts +++ b/packages/redux-devtools-cli/src/index.ts @@ -41,6 +41,7 @@ export default async function (argv: { [arg: string]: any }): Promise<{ const agServer = socketClusterServer.attach(httpServer, options); const app = express(); + // eslint-disable-next-line @typescript-eslint/no-misused-promises httpServer.on('request', app); const store = createStore(options); app.use(routes(options, store, agServer)); @@ -76,7 +77,7 @@ export default async function (argv: { [arg: string]: any }): Promise<{ }); }) .catch(function (error) { - console.error(error); // eslint-disable-line no-console + console.error(error); }); } } @@ -110,7 +111,7 @@ export default async function (argv: { [arg: string]: any }): Promise<{ request.end(data); }) .catch(function (error) { - console.error(error); // eslint-disable-line no-console + console.error(error); }); } })(); @@ -118,7 +119,6 @@ export default async function (argv: { [arg: string]: any }): Promise<{ for await (const data of socket.listener('disconnect')) { const channel = agServer.exchange.channel('sc-' + socket.id); channel.unsubscribe(); - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion void agServer.exchange.transmitPublish(channelToEmit!, { id: socket.id, type: 'DISCONNECTED',