Skip to content

Commit

Permalink
fix(Editor): fix relative import
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteformed committed Dec 25, 2024
1 parent 172ca22 commit 41e4e0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bundle/Editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import {EditorView as CMEditorView} from '@codemirror/view';
import {TextSelection} from 'prosemirror-state';
import {EditorView as PMEditorView} from 'prosemirror-view';

import {TransformFn} from 'src/core/markdown/ProseMirrorTransformer';
import {TransformFn} from '../core/markdown/ProseMirrorTransformer';

Check failure on line 7 in src/bundle/Editor.ts

View workflow job for this annotation

GitHub Actions / Verify Files

`../core/markdown/ProseMirrorTransformer` import should occur after import of `../core`
import {getAutocompleteConfig} from '../markup/codemirror/autocomplete';

Check failure on line 8 in src/bundle/Editor.ts

View workflow job for this annotation

GitHub Actions / Verify Files

There should be no empty line within import group

Check failure on line 8 in src/bundle/Editor.ts

View workflow job for this annotation

GitHub Actions / Verify Files

`../markup/codemirror/autocomplete` import should occur after import of `../markup`

import {getAutocompleteConfig} from '../../src/markup/codemirror/autocomplete';
import type {CommonEditor, MarkupString} from '../common';
import {
type ActionStorage,
Expand Down

0 comments on commit 41e4e0b

Please sign in to comment.