@@ -94,29 +94,6 @@ Format: join the keywords `options`, `scripts`, `markup`, `styles` with a `-` in
94
94
95
95
> The `options` order option only exists since version 2. If you use version 1 of `prettier-plugin-svelte`, omit that option (so for example only write `scripts-markup-styles`).
96
96
97
-
### Svelte Strict Mode
98
-
99
-
More strict HTML syntax: Quotes in attributes and no self-closing DOM elements (except void elements).
100
-
101
-
> In version 2 this overruled `svelteAllowShorthand`, which is no longer the case.
102
-
103
-
> In Svelte 5, attributes are never quoted, because this will mean "stringify this attribute value" in a future Svelte version
@@ -233,6 +209,8 @@ Usage in the browser is semi-supported. You can import the plugin from `prettier
233
209
234
210
Upgrade to Svelte 5 before upgrading to `prettier-plugin-svelte@4`, as it doesn't support older Svelte versions.
235
211
212
+
`svelteStrictMode` option has been removed. Attributes are now never quoted, because this will mean "stringify this attribute value" in a future Svelte version.
213
+
236
214
## FAQ
237
215
238
216
### Why is the closing or opening tag (`>` or `<`) hugging the inner tag or text?
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@ import { Config } from 'prettier';
0 commit comments