Skip to content

Defer Astro Prettier plugin v1 upgrade until Tailwind sorting is fixed #1478

Open

Description

@toxsick

see #1442

Upgrading prettier-plugin-astro to v1 breaks Tailwind class sorting in Astro markup (class, class:list, and cn(...)). Frontmatter sorting still works; the existing regression test correctly fails.

The [upstream fix #473](tailwindlabs/prettier-plugin-tailwindcss#473) is merged but [unreleased](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md).

Retry the upgrade once the fix is released. Verify the Astro sorting test passes without changing its expected snapshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions