fix: eslint-disable comments correctly placed for script and template sections
Lint & Vuln Scan / Go vulnerabilities (push) Successful in 23s
Lint & Vuln Scan / Frontend lint & types (push) Failing after 1m4s

This commit is contained in:
2026-06-25 18:44:05 +01:00
parent 61338921e8
commit 633d8ff1a8
+3
View File
@@ -51,6 +51,7 @@
if (!authStore.isAuthenticated) {
pageState = 'unauthorized';
// eslint-disable-next-line svelte/no-navigation-without-resolve
goto('/login', { replaceState: true });
return;
}
@@ -1237,6 +1238,7 @@
if (response.ok) {
toast.success('Account deleted successfully', { id: loadingToast });
authStore.logout();
// eslint-disable-next-line svelte/no-navigation-without-resolve
goto('/');
} else {
const text = await response.text();
@@ -2599,6 +2601,7 @@
<p class="mb-3 text-sm text-gray-600">
View and export all personal data we hold about you
</p>
<!-- eslint-disable-next-line svelte/no-navigation-without-resolve -->
<Button onclick={() => goto('/gdpr')} variant="outline">
<svg
xmlns="http://www.w3.org/2000/svg"