fix lint errors

This commit is contained in:
Mark Tolmacs 2025-03-23 17:14:38 +01:00
parent c0d48a6b9d
commit 0f7eb8ea76
3 changed files with 6 additions and 3 deletions

View file

@ -6,13 +6,14 @@ import {
import { MainMenu } from "@excalidraw/excalidraw/index"; import { MainMenu } from "@excalidraw/excalidraw/index";
import React from "react"; import React from "react";
import { isDevEnv } from "@excalidraw/excalidraw/utils";
import type { Theme } from "@excalidraw/excalidraw/element/types"; import type { Theme } from "@excalidraw/excalidraw/element/types";
import { LanguageList } from "../app-language/LanguageList"; import { LanguageList } from "../app-language/LanguageList";
import { isExcalidrawPlusSignedUser } from "../app_constants"; import { isExcalidrawPlusSignedUser } from "../app_constants";
import { saveDebugState } from "./DebugCanvas"; import { saveDebugState } from "./DebugCanvas";
import { isDevEnv } from "@excalidraw/excalidraw/utils";
export const AppMainMenu: React.FC<{ export const AppMainMenu: React.FC<{
onCollabDialogOpen: () => any; onCollabDialogOpen: () => any;

View file

@ -15,9 +15,10 @@ import {
import { newElement, newLinearElement, newTextElement } from "./element"; import { newElement, newLinearElement, newTextElement } from "./element";
import { randomId } from "./random"; import { randomId } from "./random";
import type { NonDeletedExcalidrawElement } from "./element/types";
import { isDevEnv } from "./utils"; import { isDevEnv } from "./utils";
import type { NonDeletedExcalidrawElement } from "./element/types";
export type ChartElements = readonly NonDeletedExcalidrawElement[]; export type ChartElements = readonly NonDeletedExcalidrawElement[];
const BAR_WIDTH = 32; const BAR_WIDTH = 32;

View file

@ -2,9 +2,10 @@ import { useAtomValue, editorJotaiStore, atom } from "./editor-jotai";
import fallbackLangData from "./locales/en.json"; import fallbackLangData from "./locales/en.json";
import percentages from "./locales/percentages.json"; import percentages from "./locales/percentages.json";
import type { NestedKeyOf } from "./utility-types";
import { isDevEnv } from "./utils"; import { isDevEnv } from "./utils";
import type { NestedKeyOf } from "./utility-types";
const COMPLETION_THRESHOLD = 85; const COMPLETION_THRESHOLD = 85;
export interface Language { export interface Language {