From 60d13eda19cce05dc7b04a0e6dfcd1824b5e4137 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Tue, 21 Oct 2025 11:49:33 +0200 Subject: [PATCH] fix: remove unused eslint-disable directives MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove three unnecessary eslint-disable comments for @typescript-eslint/no-unused-vars that were no longer needed, as the destructured variables are actually used. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/components/Editor/GraphEditor.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/Editor/GraphEditor.tsx b/src/components/Editor/GraphEditor.tsx index 806d50a..91331f7 100644 --- a/src/components/Editor/GraphEditor.tsx +++ b/src/components/Editor/GraphEditor.tsx @@ -220,7 +220,6 @@ const GraphEditor = ({ onNodeSelect, onEdgeSelect, onGroupSelect, onMultiSelect, // Only update if source or target changed if (wasRerouted) { // Destructure to separate handle properties from the rest - // eslint-disable-next-line @typescript-eslint/no-unused-vars const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge; // Create new edge object with updated source/target @@ -344,7 +343,6 @@ const GraphEditor = ({ onNodeSelect, onEdgeSelect, onGroupSelect, onMultiSelect, const pendingEdgeId = pendingType === 'edge' ? pendingId : null; const newEdges = visibleEdges.map((edge) => { - // eslint-disable-next-line @typescript-eslint/no-unused-vars const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge; return { ...edgeWithoutHandles, @@ -367,7 +365,6 @@ const GraphEditor = ({ onNodeSelect, onEdgeSelect, onGroupSelect, onMultiSelect, ); return visibleEdges.map((edge) => { - // eslint-disable-next-line @typescript-eslint/no-unused-vars const { sourceHandle, targetHandle, ...edgeWithoutHandles } = edge; return { ...edgeWithoutHandles,