prettier-plugin-svelte
Advanced tools
Changelog
3.1.0
#snippet
and @render
Changelog
3.0.3
tag
attributes on <svelte:element>
Changelog
3.0.0
prettier
version 3. This may require adjustments to your configuration file, see the migration guide for more info<div />
or <Component />
that stays as is, and so does <div></div>
/<Component></Component>
. If svelteStrictMode
is turned on, it will still only allow <div></div>
notation for elements (but it will leave your components alone)svelteAllowShorthand
now takes precedence over svelteStrictMode
, which no longer has any effect on that behavior. Set svelteAllowShorthand
to false
to get back the v2 behaviorsvelteSortOrder
options