style: add eslint and prettier
Some checks failed
TrafficCue CI / check (push) Successful in 26s
TrafficCue CI / build (push) Has been cancelled

This commit is contained in:
Cfp
2025-06-22 17:53:32 +02:00
parent 16c0f0c399
commit f2348873fd
100 changed files with 5110 additions and 7344 deletions

View File

@ -2,16 +2,19 @@
import Badge from "$lib/components/ui/badge/badge.svelte";
import opening_hours from "opening_hours";
let { hours, lat, lon }: { hours: string, lat: number, lon: number } = $props();
let { hours, lat, lon }: { hours: string; lat: number; lon: number } =
$props();
const oh = $derived.by(() => {
return new opening_hours(hours, {
lat, lon, address: {
lat,
lon,
address: {
country_code: "de", // Default to Germany, can be overridden if needed
state: "NRW", // Default to North Rhine-Westphalia, can be overridden if needed
}
},
});
})
});
</script>
<h3 class="text-lg font-bold mt-2">
@ -24,4 +27,4 @@
</h3>
<p>{hours}</p>
<!-- todo -->
<!-- todo -->