From c9c75b76bf49bada3d5a19af012a005c77cde67d Mon Sep 17 00:00:00 2001 From: spartacus04 Date: Wed, 27 Mar 2024 14:20:01 +0100 Subject: [PATCH] lint --- .eslintrc.cjs | 4 ++-- src/routes/+layout.svelte | 2 +- src/routes/+layout.ts | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 44ec4d1d..134a25c6 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -44,7 +44,7 @@ module.exports = { 'no-empty': 'off', 'svelte/no-at-html-tags': 'off', 'no-undef': 'off', - 'semi': 'off', - '@typescript-eslint/semi': ['error', 'always'], + semi: 'off', + '@typescript-eslint/semi': ['error', 'always'] } }; diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 0a33023d..594e689c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -62,7 +62,7 @@ } } })(); - } catch (_) { } + } catch (_) {} } onMount(async () => { diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts index 629e4e9d..d14d56a5 100644 --- a/src/routes/+layout.ts +++ b/src/routes/+layout.ts @@ -10,7 +10,6 @@ export const ssr = false; export const prerender = true; export const trailingSlash = 'always'; - export const load: LayoutLoad = async ({ url, fetch }) => { if (window.__TAURI__) { const downloaded = await invoke('download_ffmpeg');