diff options
Diffstat (limited to 'subprojects/frontend/src/editor/LintPanelStore.ts')
-rw-r--r-- | subprojects/frontend/src/editor/LintPanelStore.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/subprojects/frontend/src/editor/LintPanelStore.ts b/subprojects/frontend/src/editor/LintPanelStore.ts new file mode 100644 index 00000000..502f9c59 --- /dev/null +++ b/subprojects/frontend/src/editor/LintPanelStore.ts | |||
@@ -0,0 +1,10 @@ | |||
1 | import { closeLintPanel, openLintPanel } from '@codemirror/lint'; | ||
2 | |||
3 | import type EditorStore from './EditorStore'; | ||
4 | import PanelStore from './PanelStore'; | ||
5 | |||
6 | export default class LintPanelStore extends PanelStore { | ||
7 | constructor(store: EditorStore) { | ||
8 | super('cm-panel-lint', openLintPanel, closeLintPanel, store); | ||
9 | } | ||
10 | } | ||