From f4f45959689261a08fb4be7591b2ceb7db5f0cf9 Mon Sep 17 00:00:00 2001 From: Saya Date: Sun, 22 Dec 2024 19:14:01 +0800 Subject: [PATCH] chore: fix failing lint --- src/Shoukaku.ts | 2 +- src/node/Node.ts | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/Shoukaku.ts b/src/Shoukaku.ts index ed5d0ab6..a2a02a96 100644 --- a/src/Shoukaku.ts +++ b/src/Shoukaku.ts @@ -1,7 +1,7 @@ // eslint-disable-next-line import-x/no-cycle import { Connector } from './connectors/Connector'; // eslint-disable-next-line import-x/no-cycle -import { ShoukakuDefaults, State, VoiceState } from './Constants'; +import { ShoukakuDefaults, VoiceState } from './Constants'; // eslint-disable-next-line import-x/no-cycle import { Connection } from './guild/Connection'; // eslint-disable-next-line import-x/no-cycle diff --git a/src/node/Node.ts b/src/node/Node.ts index 2aa0d3df..3e1b064f 100644 --- a/src/node/Node.ts +++ b/src/node/Node.ts @@ -1,8 +1,8 @@ import { IncomingMessage } from 'http'; -import { NodeOption, Shoukaku, ShoukakuEvents } from '../Shoukaku'; +import Websocket from 'ws'; +// eslint-disable-next-line import-x/no-cycle import { OpCodes, ShoukakuClientInfo, State, Versions } from '../Constants'; -import { TypedEventEmitter, wait } from '../Utils'; -import { Rest } from './Rest'; +// eslint-disable-next-line import-x/no-cycle import { PlayerUpdate, TrackEndEvent, @@ -11,7 +11,10 @@ import { TrackStuckEvent, WebSocketClosedEvent } from '../guild/Player'; -import Websocket from 'ws'; +import { NodeOption, Shoukaku, ShoukakuEvents } from '../Shoukaku'; +import { TypedEventEmitter, wait } from '../Utils'; +// eslint-disable-next-line import-x/no-cycle +import { Rest } from './Rest'; export interface Ready { op: OpCodes.READY;