diff --git a/.prettierrc b/.prettierrc index ee14eb69..c62afff6 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,16 +1,17 @@ { - "arrowParens": "always", - "tabWidth": 2, - "semi": false, - "singleQuote": true, - "htmlWhitespaceSensitivity": "css", - "plugins": ["prettier-plugin-svelte"], - "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }], - "trailingComma": "all", - "bracketSameLine": false, - "svelteAllowShorthand": true, - "svelteBracketNewLine": true, - "svelteIndentScriptAndStyle": true, - "svelteSortOrder": "scripts-options-markup-styles", - "svelteStrictMode": false + "arrowParens": "always", + "tabWidth": 2, + "semi": false, + "singleQuote": true, + "htmlWhitespaceSensitivity": "css", + "plugins": ["prettier-plugin-svelte"], + "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }], + "trailingComma": "all", + "bracketSameLine": false, + "svelteAllowShorthand": true, + "svelteBracketNewLine": true, + "svelteIndentScriptAndStyle": true, + "svelteSortOrder": "scripts-options-markup-styles", + "svelteStrictMode": false, + "useTabs": false } diff --git a/bun.lockb b/bun.lockb index 76cd9658..dc2b665a 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 8f2d18c9..2b8ca50b 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@sveltejs/adapter-node": "^5.2.9", "@sveltejs/adapter-static": "^3.0.8", "@sveltejs/kit": "^2.17.1", - "@sveltejs/vite-plugin-svelte": "^4.0.0", + "@sveltejs/vite-plugin-svelte": "^4.0.4", "@tailwindcss/container-queries": "^0.1.1", "@tailwindcss/postcss": "^4.1.8", "@types/nprogress": "^0.2.0", @@ -29,7 +29,7 @@ "openapi-fetch": "^0.14.0", "postcss": "^8.4.30", "prettier": "^3.3.3", - "prettier-plugin-svelte": "^3.2.7", + "prettier-plugin-svelte": "^3.4.0", "svelte": "^5.37.3", "svelte-adapter-bun-next": "^1.0.3", "svelte-check": "^4.0.0", diff --git a/src/lib/components/lemmy/PictrsImage.svelte b/src/lib/components/lemmy/PictrsImage.svelte index 7ed255b7..b24656be 100644 --- a/src/lib/components/lemmy/PictrsImage.svelte +++ b/src/lib/components/lemmy/PictrsImage.svelte @@ -1,15 +1,15 @@