chore: pnpm lint fix

ran pnpm lint fix and fixed all lint errors
This commit is contained in:
Dustin Loring
2025-01-16 10:45:06 -05:00
parent d55a584013
commit 0bf3cafe83
35 changed files with 116 additions and 97 deletions

View File

@@ -17,14 +17,14 @@ import {
type Tooltip,
} from '@codemirror/view';
import { memo, useEffect, useRef, useState, type MutableRefObject } from 'react';
import type { Theme } from '~/types/theme';
import { classNames } from '~/utils/classNames';
import { debounce } from '~/utils/debounce';
import { createScopedLogger, renderLogger } from '~/utils/logger';
import { BinaryContent } from './BinaryContent';
import { getTheme, reconfigureTheme } from './cm-theme';
import { indentKeyBinding } from './indent';
import { getLanguage } from './languages';
import type { Theme } from '~/types/theme';
import { classNames } from '~/utils/classNames';
import { debounce } from '~/utils/debounce';
import { createScopedLogger, renderLogger } from '~/utils/logger';
const logger = createScopedLogger('CodeMirrorEditor');

View File

@@ -1,8 +1,8 @@
import { Compartment, type Extension } from '@codemirror/state';
import { EditorView } from '@codemirror/view';
import { vscodeDark, vscodeLight } from '@uiw/codemirror-theme-vscode';
import type { Theme } from '~/types/theme.js';
import type { EditorSettings } from './CodeMirrorEditor.js';
import type { Theme } from '~/types/theme.js';
export const darkTheme = EditorView.theme({}, { dark: true });
export const themeSelection = new Compartment();