Skip to content

Commit

Permalink
Fix lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMauderer committed Mar 4, 2024
1 parent c52850e commit cec4e04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/gui2/src/components/GraphEditor/GraphNodeComment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { injectInteractionHandler } from '@/providers/interactionHandler'
import { defineKeybinds } from '@/util/shortcuts'
import * as random from 'lib0/random'
import { textChangeToEdits } from 'shared/util/data/text'
import { computed, ref, watch, watchEffect } from 'vue'
import { computed, ref, watchEffect } from 'vue'
const { minimalSetup, EditorState, EditorView, textEditToChangeSpec } = await import(
'@/components/CodeEditor/codemirror'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ import { targetIsOutside } from '@/util/autoBlur'
import { ArgumentInfoKey } from '@/util/callTree'
import { arrayEquals } from '@/util/data/array'
import { asNot } from '@/util/data/types.ts'
import {
qnLastSegment,
tryQualifiedName,
type IdentifierOrOperatorIdentifier,
} from '@/util/qualifiedName'
import { qnLastSegment, tryQualifiedName } from '@/util/qualifiedName'
import { computed, ref, watch } from 'vue'
const props = defineProps(widgetProps(widgetDefinition))
Expand Down Expand Up @@ -183,7 +179,8 @@ export const widgetDefinition = defineWidget(WidgetInput.isAstOrPlaceholder, {
<template>
<!-- See comment in GraphNode next to dragPointer definition about stopping pointerdown and pointerup -->
<div
ref="widgetRoot" class="WidgetSelection"
ref="widgetRoot"
class="WidgetSelection"
@pointerdown.stop
@pointerup.stop
@click.stop="toggleDropdownWidget"
Expand Down
2 changes: 1 addition & 1 deletion app/gui2/ydoc-server/edits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export function prettyPrintDiff(from: string, to: string): string {
}

if (import.meta.vitest) {
const { test, expect, bench, describe } = import.meta.vitest
const { test, expect } = import.meta.vitest

test.each`
oldStr | newStr | expected
Expand Down

0 comments on commit cec4e04

Please sign in to comment.