Skip to content

Commit 4e78662

Browse files
committed
style: small lints
1 parent 4e91479 commit 4e78662

12 files changed

Lines changed: 2 additions & 10 deletions

File tree

src/module.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export default defineNuxtModule<ModuleOptions>({
8989
nuxt.options.build.transpile.push("@tiptap/pm")
9090

9191
nuxt.hook("vite:extendConfig", config => {
92+
// @ts-expect-error - optimizeDeps is now readonly but also possibly undefined :/
9293
config.optimizeDeps ??= {}
9394
config.optimizeDeps.exclude ??= []
9495
// causes issues with the import.meta.globs here

src/runtime/components/CodeBlockThemePicker.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ const codeBlocksTheme = defineModel<string>("codeBlocksTheme", { required: true
4242
gap-2
4343
"
4444
>
45-
<!-- @vue-expect-error -->
4645
<ComboboxInput
4746
class="
4847
bg-inherit

src/runtime/components/Editor.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
v-bind="$attrs"
2727
>
2828
<!-- The class `is-embedded-block` is not needed internally, but is added for consistency in case it might be useful. -->
29-
<!-- @vue-expect-error -->
3029
<editor-content
3130
:editor="editor! as any"
3231
spellcheck="false"

src/runtime/demo/App.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<template>
22
<WRoot class="items-center py-4">
3-
<!-- @vue-expect-error use unhead in a real app -->
43
<style>
54
{{ codeBlocksThemeCss.join("\n") }}
65
</style>

src/runtime/pm/features/Blocks/components/ItemMenu.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<template>
2-
<!-- @vue-expect-error -->
32
<WPopup
43
:model-value="menu.opened"
54
:preferred-horizontal="['left-most']"

src/runtime/pm/features/Blocks/components/ItemNodeView.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
--pmNodeTypeMargin
1313
--pmDragDropIndicatorHeight
1414
-->
15-
<!-- @vue-expect-error role is a valid attribute -->
1615
<node-view-wrapper
1716
:class="twMerge(`
1817
group/item

src/runtime/pm/features/CodeBlock/components/CodeBlockView.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
/>
4545
</div>
4646

47-
<!-- @vue-expect-error -->
4847
<node-view-content
4948
:class="twMerge(`
5049
hljs

src/runtime/pm/features/CommandsMenus/components/CommandMenuGroup.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
:item="item"
99
v-extract-root-el="(_: any) => el = _"
1010
/>
11-
<!-- @vue-expect-error -->
1211
<WPopup
1312
:model-value="showSubMenu"
1413
:preferred-horizontal="['right-most']"

src/runtime/pm/features/EmbeddedDocument/components/EmbeddedDocumentPicker.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
@pointerdown.prevent
8585
@pointerup.prevent="pickBlockId"
8686
>
87-
<!-- @vue-expect-error -->
8887
<Editor
8988
:is-embedded="true"
9089
:doc-id="newEmbedId.docId"

src/runtime/pm/features/EmbeddedDocument/components/EmbeddedNodeView.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<template>
2-
<!-- @vue-expect-error -->
32
<node-view-wrapper
43
:class="`
54
group/embedded-doc

0 commit comments

Comments
 (0)