From 619a8a3efe79c6996af98db4b2f8ab3b8b3b7d1c Mon Sep 17 00:00:00 2001 From: Adam Thompson-Sharpe Date: Mon, 23 Dec 2024 22:32:23 -0500 Subject: [PATCH] style: Disable some eslint errors --- src/lib/SetSelector.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/SetSelector.svelte b/src/lib/SetSelector.svelte index 87d6a5c..dd913cf 100644 --- a/src/lib/SetSelector.svelte +++ b/src/lib/SetSelector.svelte @@ -11,12 +11,14 @@ // Update the active set if setName changes $effect(() => { + // eslint-disable-next-line @typescript-eslint/no-unused-expressions setName; untrack(() => ($set = [setName, $sets.get(setName)!])); }); // Update setName if the active set changes $effect(() => { + // eslint-disable-next-line @typescript-eslint/no-unused-expressions $set; untrack(() => (setName = $set[0])); });