Skip to content

Auto-reordering does not work in the {:else} part of svelte files #78

@andy1li

Description

@andy1li

What version of prettier-plugin-tailwindcss are you using?

v0.1.10

What version of Tailwind CSS are you using?

v3.0.24

What version of Node.js are you using?

v16.14.2

What package manager are you using?

pnpm v7.1.0

What operating system are you using?

macOS v11.6(20G165)

Reproduction URL

https://github.com/andy1li/prettier-plugin-tailwindcss-bug-report

Describe your issue

Problem:

❌ Tailwind css auto-reordering does not work in the {:else} part of svelte files.

Reproduction step:

  1. Go to /src/App.svelte
  2. Try change the order of classes around.

Expected behavior:

✅ Auto-reordering should work in all parts of svelte files.

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