mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix lint errors
This commit is contained in:
parent
c0d48a6b9d
commit
0f7eb8ea76
3 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue