Skip to content

Svelte formatter suddenly do not respect formatting rules #2273

@rallets

Description

@rallets

Hi, I'm not sure this is the correct repo to post this issue. My problem is that suddenly VS Code has started to format the svelte files without respecting my settings. I haven't changed anything. I did not install any new extensions or packages. It just happened while I was working. Tried to restart VS Code many times.
The most evident - and annoying - is the single/double-quotes in imports. My config says it should be single quotes, but - on save - it change them to double quotes. Ineed every time to use Eslint autofixer to get them back correct.
I double checked all my settings, and they are correct (I mean Svelte › Plugin › Svelte › Format › Config: Single Quote "svelte.plugin.svelte.format.config.singleQuote": true)
I don't have Prettier installed.
I have installed Svelte for VS Code v108.2.1.
Anyone else experienced the same? I don't know where to look to get back my sanity.
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionA user question

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions