diff --git a/.eslintrc.cjs b/.eslintrc.cjs index fe58b1d..1c7337f 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -11,12 +11,12 @@ module.exports = { ], ignorePatterns: ["*.cjs"], overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }], - plugins: ["svelte3", "@typescript-eslint"], parser: "@typescript-eslint/parser", parserOptions: { sourceType: "module", ecmaVersion: 2020, }, + plugins: ["svelte3", "@typescript-eslint"], root: true, settings: { "svelte3/typescript": () => require("typescript"), diff --git a/package.json b/package.json index 600f5e2..6f7a8e1 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "configure": "tsx src/scripts/configure.ts", "dev": "vite dev", "format": "prettier --plugin-search-dir . --write .", - "lint": "prettier --plugin-search-dir . --check . && eslint .", - "package": "svelte-package", + "lint": "prettier --check --plugin-search-dir . . && eslint .", + "package": "svelte-kit sync && svelte-package", "preview": "vite preview", "test": "playwright test" }, diff --git a/src/app.d.ts b/src/app.d.ts index 3e4ed20..1cea0dc 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -2,8 +2,8 @@ // for information about these interfaces // and what to do when importing types declare namespace App { + // interface Error {} // interface Locals {} // interface PageData {} - // interface Error {} // interface Platform {} } diff --git a/src/app.html b/src/app.html index ab9c015..d65ee40 100644 --- a/src/app.html +++ b/src/app.html @@ -6,7 +6,7 @@ %sveltekit.head% - -
%sveltekit.body%
+ +
%sveltekit.body%
diff --git a/src/lib/components/LienView.svelte b/src/lib/components/LienView.svelte index dbf53ed..faa3585 100644 --- a/src/lib/components/LienView.svelte +++ b/src/lib/components/LienView.svelte @@ -62,7 +62,11 @@ {#if componentAndProperties === undefined} -
+
{lien["#text"]} @@ -72,6 +76,7 @@