fix linting errors

This commit is contained in:
tiagosiebler
2023-02-17 14:06:58 +00:00
parent dd6ef2fea5
commit 8193f5a5ce
7 changed files with 11 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
import { API_ERROR_CODE, USDCOptionClient } from '../../../src';
import { successResponseObjectV3 } from '../../response.util';
// import { successResponseObjectV3 } from '../../response.util';
describe('Private USDC Options REST API POST Endpoints', () => {
const API_KEY = process.env.API_KEY_COM;

View File

@@ -1,8 +1,5 @@
import { API_ERROR_CODE, USDCPerpetualClient } from '../../../src';
import {
successEmptyResponseObjectV3,
successResponseObjectV3,
} from '../../response.util';
import { successEmptyResponseObjectV3 } from '../../response.util';
describe('Private USDC Perp REST API POST Endpoints', () => {
const API_KEY = process.env.API_KEY_COM;

View File

@@ -1,8 +1,9 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/* eslint-disable no-unused-vars */
/* eslint-disable @typescript-eslint/no-empty-function */
import { WebsocketClient, WsClientEvent } from '../src';
export function getSilentLogger(logHint?: string) {
export function getSilentLogger(_logHint?: string) {
return {
silly: () => {},
debug: () => {},
@@ -129,7 +130,7 @@ export function logAllEvents(wsClient: WebsocketClient) {
}
export function promiseSleep(ms: number) {
return new Promise((resolve, reject) => {
return new Promise((resolve) => {
setTimeout(resolve, ms);
});
}