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, reconcileElements,
} from "@excalidraw/excalidraw"; } from "@excalidraw/excalidraw";
import { ErrorDialog } from "@excalidraw/excalidraw/components/ErrorDialog"; 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 { import {
IDLE_THRESHOLD, IDLE_THRESHOLD,
ACTIVE_THRESHOLD, ACTIVE_THRESHOLD,

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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