docs(search): explain void sort/dir ESLint workaround in SearchFilterBar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit was merged in pull request #183.
This commit is contained in:
Marcel
2026-04-06 16:50:52 +02:00
parent 1f86e6e238
commit a863f8baad

View File

@@ -45,7 +45,8 @@ let {
let sortDirMounted = false;
$effect(() => {
// Track sort and dir so this effect re-runs when either changes
// Read sort and dir so Svelte tracks them as dependencies of this effect.
// `void` suppresses the ESLint no-unused-expressions rule for bare variable reads.
void sort;
void dir;
if (!sortDirMounted) {