disable eslint rule svelte/prefer-svelte-reactivity for several lines and files

This commit is contained in:
peterkogo
2025-10-07 15:13:14 +02:00
parent c46174fd9c
commit 87a8689584
9 changed files with 22 additions and 3 deletions
@@ -67,6 +67,7 @@
};
},
onChange: (change: XYResizerChange, childChanges: XYResizerChildChange[]) => {
// eslint-disable-next-line svelte/prefer-svelte-reactivity
const changes = new Map<string, Partial<Node>>();
let position = change.x && change.y ? { x: change.x, y: change.y } : undefined;
changes.set(id, { ...change, position });