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:
parent
1e56eb5503
commit
f5bcc35bc9
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue