Lint: Turn on rules that should allow for verbatimModuleSyntax (#5616)

* lint: turn on type import rules setting up for verbatimModuleSyntax

* lint: --fix for type imports
This commit is contained in:
Alexander Brown
2025-09-16 22:03:41 -07:00
committed by GitHub
parent 045232a99b
commit 08220d50d9
215 changed files with 390 additions and 381 deletions

View File

@@ -8,7 +8,7 @@
*/
import type { LGraph } from '@/lib/litegraph/src/LGraph'
import type { LGraphNode } from '@/lib/litegraph/src/LGraphNode'
import { LLink } from '@/lib/litegraph/src/LLink'
import type { LLink } from '@/lib/litegraph/src/LLink'
import type { Reroute } from '@/lib/litegraph/src/Reroute'
import type {
CanvasColour,

View File

@@ -8,13 +8,13 @@ import log from 'loglevel'
import type { NodeId } from '@/lib/litegraph/src/LGraphNode'
import { layoutStore } from '@/renderer/core/layout/store/layoutStore'
import {
LayoutSource,
type LinkId,
type NodeLayout,
type Point,
type RerouteId,
type Size
import type { LayoutSource } from '@/renderer/core/layout/types'
import type {
LinkId,
NodeLayout,
Point,
RerouteId,
Size
} from '@/renderer/core/layout/types'
const logger = log.getLogger('LayoutMutations')

View File

@@ -7,8 +7,9 @@
import { onUnmounted } from 'vue'
import type { LGraphCanvas } from '@/lib/litegraph/src/LGraphCanvas'
import { LGraphNode, LiteGraph } from '@/lib/litegraph/src/litegraph'
import { type SlotPositionContext } from '@/renderer/core/canvas/litegraph/slotCalculations'
import type { LGraphNode } from '@/lib/litegraph/src/litegraph'
import { LiteGraph } from '@/lib/litegraph/src/litegraph'
import type { SlotPositionContext } from '@/renderer/core/canvas/litegraph/slotCalculations'
import { registerNodeSlots } from '@/renderer/core/layout/slots/register'
import { layoutStore } from '@/renderer/core/layout/store/layoutStore'

View File

@@ -13,7 +13,7 @@
<script setup lang="ts">
import { computed, provide } from 'vue'
import { LGraphCanvas } from '@/lib/litegraph/src/litegraph'
import type { LGraphCanvas } from '@/lib/litegraph/src/litegraph'
import { TransformStateKey } from '@/renderer/core/layout/injectionKeys'
import { useCanvasTransformSync } from '@/renderer/core/layout/transform/useCanvasTransformSync'
import { useTransformSettling } from '@/renderer/core/layout/transform/useTransformSettling'

View File

@@ -1,6 +1,6 @@
import { ref } from 'vue'
import { ComfyWorkflow } from '@/platform/workflow/management/stores/workflowStore'
import type { ComfyWorkflow } from '@/platform/workflow/management/stores/workflowStore'
import { createGraphThumbnail } from './graphThumbnailRenderer'