mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fix lint errors
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
parent
e4d3d29fb8
commit
c22bec6485
7 changed files with 1 additions and 7 deletions
|
@ -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,
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import { ENV } from "./constants";
|
|
||||||
import {
|
import {
|
||||||
BoundElement,
|
BoundElement,
|
||||||
BindableElement,
|
BindableElement,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import throttle from "lodash.throttle";
|
import throttle from "lodash.throttle";
|
||||||
|
|
||||||
import { ENV } from "../constants";
|
|
||||||
import {
|
import {
|
||||||
orderByFractionalIndex,
|
orderByFractionalIndex,
|
||||||
syncInvalidIndices,
|
syncInvalidIndices,
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue