From f7d9be91407582fd85a70eef89c03a32e37c3c0f Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 7 Nov 2022 23:34:14 +0100 Subject: lint: Disallow utils index imports This keeps leading to issues due to circular imports. Import from specific files instead, index just reexports --- src/plugins/nitroBypass.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/nitroBypass.ts') diff --git a/src/plugins/nitroBypass.ts b/src/plugins/nitroBypass.ts index f4bdc84..d2e1e10 100644 --- a/src/plugins/nitroBypass.ts +++ b/src/plugins/nitroBypass.ts @@ -17,9 +17,9 @@ */ import { addPreEditListener, addPreSendListener, removePreEditListener, removePreSendListener } from "../api/MessageEvents"; -import { lazyWebpack } from "../utils"; import { Devs } from "../utils/constants"; import { ApngDisposeOp, getGifEncoder, importApngJs } from "../utils/dependencies"; +import { lazyWebpack } from "../utils/misc"; import definePlugin, { OptionType } from "../utils/types"; import { Settings } from "../Vencord"; import { filters } from "../webpack"; -- cgit