svelteStrictMode still causes Svelte components to self-close

#238

Development PRs

Issue

Solved
M
madupuis90
Jul 11, 2021, 4:23 PM

I tried both of these options to stop that behaviour :

  "svelte.plugin.svelte.format.config.svelteStrictMode": true,
  "svelte.plugin.html.completions.enable": false

With "svelte.plugin.svelte.format.config.svelteStrictMode": true, <div></div> does not become <div /> when saving. But <Container></Container> will still become <Container />

I tried to disable other html formatting but couldn't find any option that prevents self-closing of Svelte components

Info

Closed at Jul 17, 2023, 11:13 AM
Assignees None
Labels enhancement, breaking change
Milestone None