Fix lint errors

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
Mark Tolmacs 2025-03-20 21:08:27 +01:00
parent e4d3d29fb8
commit c22bec6485
7 changed files with 1 additions and 7 deletions

View file

@ -6,7 +6,7 @@ import {
reconcileElements,
} from "@excalidraw/excalidraw";
import { ErrorDialog } from "@excalidraw/excalidraw/components/ErrorDialog";
import { APP_NAME, ENV, EVENT } from "@excalidraw/excalidraw/constants";
import { APP_NAME, EVENT } from "@excalidraw/excalidraw/constants";
import {
IDLE_THRESHOLD,
ACTIVE_THRESHOLD,

View file

@ -1,4 +1,3 @@
import { ENV } from "./constants";
import {
BoundElement,
BindableElement,

View file

@ -85,7 +85,6 @@ import {
DRAGGING_THRESHOLD,
ELEMENT_SHIFT_TRANSLATE_AMOUNT,
ELEMENT_TRANSLATE_AMOUNT,
ENV,
EVENT,
FRAME_STYLE,
IMAGE_MIME_TYPES,

View file

@ -1,6 +1,5 @@
import throttle from "lodash.throttle";
import { ENV } from "../constants";
import {
orderByFractionalIndex,
syncInvalidIndices,

View file

@ -1,4 +1,3 @@
import { ENV } from "../constants";
import { isDevEnv, isTestEnv } from "../utils";
import { charWidth, getLineWidth } from "./textMeasurements";

View file

@ -1,6 +1,5 @@
import throttle from "lodash.throttle";
import { ENV } from "../constants";
import { isNonDeletedElement } from "../element";
import { isFrameLikeElement } from "../element/typeChecks";
import {

View file

@ -1,6 +1,5 @@
import { getDefaultAppState } from "./appState";
import { AppStateChange, ElementsChange } from "./change";
import { ENV } from "./constants";
import { newElementWith } from "./element/mutateElement";
import { Emitter } from "./emitter";
import { isDevEnv, isShallowEqual, isTestEnv } from "./utils";