mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
lint: Disallow utils index imports
This keeps leading to issues due to circular imports. Import from specific files instead, index just reexports
This commit is contained in:
parent
955573d31b
commit
f7d9be9140
22 changed files with 217 additions and 30 deletions
|
@ -21,8 +21,9 @@ import { Constructor } from "type-fest";
|
|||
|
||||
import { generateId } from "../../api/Commands";
|
||||
import { useSettings } from "../../api/settings";
|
||||
import { LazyComponent, lazyWebpack, proxyLazy } from "../../utils";
|
||||
import { LazyComponent, lazyWebpack } from "../../utils/misc";
|
||||
import { ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize } from "../../utils/modal";
|
||||
import { proxyLazy } from "../../utils/proxyLazy";
|
||||
import { OptionType, Plugin } from "../../utils/types";
|
||||
import { filters, findByCode } from "../../webpack";
|
||||
import { Button, FluxDispatcher, Forms, React, Text, Tooltip, UserStore, UserUtils } from "../../webpack/common";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue