fix: resolve all agent-induced errors — svelte-check, eslint, prettier pass
Lint & Vuln Scan / Go vulnerabilities (push) Successful in 24s
Lint & Vuln Scan / Frontend lint & types (push) Failing after 40s

- Fix <!-- svelte-ignore HTML comments in script sections (invalid JS)
- Fix catch err -> _err references across all files after renames
- Fix .writable (not in Svelte 5 stable) back to +
- Fix NavBar dynamic href links with proper eslint-disable in template
- Fix SvelteMap type params missing after Map->SvelteMap conversion
- Fix required->_required and onclose->_onclose prop mismatches
- Fix HolidayHours inline type mismatch, BookingCreateModal suppression
- Fix remaining pre-existing no-unused-vars with eslint-disable-next-line
- Revert fonts commit, run prettier format

svelte-check: 0 errors, eslint: 0 errors, prettier: clean
This commit is contained in:
2026-06-25 17:10:49 +01:00
parent e0f22e5c5c
commit eb15a399ef
37 changed files with 104 additions and 88 deletions
@@ -9,12 +9,7 @@
import * as Label from '$lib/components/ui/label';
import DatePicker from '$lib/components/booking/DatePicker.svelte';
import PolicyPopover from '$lib/components/ui/policyPopover.svelte';
import type {
Booking,
Service,
WorkingHoursDay,
AvailableHoursDay
} from '$lib/types/booking';
import type { Booking, Service, WorkingHoursDay, AvailableHoursDay } from '$lib/types/booking';
import {
extractBookedSlots,
getLunchProtectionForSlots,
@@ -787,8 +782,8 @@
<p class="font-medium text-amber-900">Cannot Reschedule Online</p>
<p class="mt-1">{noticeBlockedMessage}</p>
<p class="mt-1">
<a href="/contact" target="_blank" rel="external" class="underline">Contact us</a> to discuss
options, or
<a href="/contact" target="_blank" rel="external" class="underline">Contact us</a>
to discuss options, or
<button
type="button"
onclick={() => (open = false)}