From f5bcc35bc97d97d98637701b2b89b94237ee209e Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 15 Jun 2023 06:04:39 +0200 Subject: [PATCH] Prettier: Fix new line setting https://github.com/sveltejs/prettier-plugin-svelte#svelte-bracket-new-line states > Deprecated since 2.5.0. Use Prettier 2.4.0 and bracketSameLine instead. The new setting bracketSameLine=false is in line with how the pages are formatted mostly ATM, so it causes the least amount of change on save. --- .prettierrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.prettierrc.json b/.prettierrc.json index 33768ed0e..7b0efcd5b 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -3,6 +3,6 @@ "printWidth": 100, "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }], - "svelteBracketNewLine": false, + "bracketSameLine": false, "htmlWhitespaceSensitivity": "ignore" }