chore(): added lint action

This commit is contained in:
JJ-Cro
2025-07-17 10:35:21 +02:00
parent ca759de61e
commit 61dd72ac96
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
"test": "jest",
"test:watch": "jest --watch",
"clean": "rimraf lib dist",
"build": "tsc --project tsconfig.build.json",
"build": "tsc --project tsconfig.build.json && npm run lint",
"build:clean": "npm run clean && npm run build",
"build:watch": "npm run clean && tsc --project tsconfig.build.json --watch",
"pack": "webpack --config webpack/webpack.config.js",

View File

@@ -773,12 +773,12 @@ export class WebsocketClient extends BaseWebsocketClient<
},
true,
);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (e) {
this.logger.error('Exception trying to reject WSAPI promise', {
wsKey,
promiseRef,
parsedEvent: parsed,
error: e,
});
}
@@ -801,12 +801,12 @@ export class WebsocketClient extends BaseWebsocketClient<
},
true,
);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (e) {
this.logger.error('Exception trying to resolve WSAPI promise', {
wsKey,
promiseRef,
parsedEvent: parsed,
error: e,
});
}