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.
This commit is contained in:
Tobias 2023-06-15 06:04:39 +02:00
parent 1e56eb5503
commit f5bcc35bc9

View file

@ -3,6 +3,6 @@
"printWidth": 100, "printWidth": 100,
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }], "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }],
"svelteBracketNewLine": false, "bracketSameLine": false,
"htmlWhitespaceSensitivity": "ignore" "htmlWhitespaceSensitivity": "ignore"
} }