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:
Vendicated 2022-11-07 23:34:14 +01:00
parent 955573d31b
commit f7d9be9140
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
22 changed files with 217 additions and 30 deletions

View file

@ -18,9 +18,9 @@
import ErrorBoundary from "../../components/ErrorBoundary";
import { Flex } from "../../components/Flex";
import { lazyWebpack } from "../../utils";
import { filters } from "../../webpack";
import { lazyWebpack } from "../../utils/misc";
import { Forms, React } from "../../webpack/common";
import { filters } from "../../webpack/webpack";
interface AppStartPerformance {
prefix: string;

View file

@ -17,8 +17,8 @@
*/
import { LazyComponent } from "../../utils";
import { Devs } from "../../utils/constants";
import { LazyComponent } from "../../utils/misc";
import definePlugin from "../../utils/types";
export default definePlugin({