Skip to content

Commit ffc5b37

Browse files
committed
Lint
1 parent b82bf1f commit ffc5b37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/redux-devtools-cli/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export default async function (argv: { [arg: string]: any }): Promise<{
4141
const agServer = socketClusterServer.attach(httpServer, options);
4242

4343
const app = express();
44+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
4445
httpServer.on('request', app);
4546
const store = createStore(options);
4647
app.use(routes(options, store, agServer));
@@ -76,7 +77,7 @@ export default async function (argv: { [arg: string]: any }): Promise<{
7677
});
7778
})
7879
.catch(function (error) {
79-
console.error(error); // eslint-disable-line no-console
80+
console.error(error);
8081
});
8182
}
8283
}
@@ -110,15 +111,14 @@ export default async function (argv: { [arg: string]: any }): Promise<{
110111
request.end(data);
111112
})
112113
.catch(function (error) {
113-
console.error(error); // eslint-disable-line no-console
114+
console.error(error);
114115
});
115116
}
116117
})();
117118
void (async () => {
118119
for await (const data of socket.listener('disconnect')) {
119120
const channel = agServer.exchange.channel('sc-' + socket.id);
120121
channel.unsubscribe();
121-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
122122
void agServer.exchange.transmitPublish(channelToEmit!, {
123123
id: socket.id,
124124
type: 'DISCONNECTED',

0 commit comments

Comments
 (0)