Skip to content

vscode prettier doesn't seem to use the plugin, even when .prettierrc configured #401

Open
@mikemaccana

Description

@mikemaccana

Per the instructions I've created a config file:

{
  "plugins": ["prettier-plugin-svelte"]
}

And when I save the file and format with the Prettier extension:

Prettier - Code formatter
v10.1.0
Prettier
prettier.io

It uses the config file:

["INFO" - 12:09:26] Using config file at '/Users/mikemaccana/Code/mycompany/myapp/.prettierrc'

But no changes occur to my svelte files.

Command line works fine:

npx prettier --write --plugin prettier-plugin-svelte .

(I can see the files are now neatened)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions