mapcomplete/.prettierrc.json
Tobias f5bcc35bc9 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.
2023-06-15 06:04:39 +02:00

8 lines
259 B
JSON

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