Skip to content

Conversation

mattiamalonni
Copy link

@mattiamalonni mattiamalonni commented Jul 14, 2025

I’ve built a Prettier plugin to sort JSX/TSX attributes alphabetically while preserving key/ref order and respecting spread attribute positions.
It uses a preprocess function and is compatible with prettier-plugin-tailwindcss through proper merging of preprocess.

Would you be open to supporting it via your plugin discovery mechanism?

https://github.com/mattiamalonni/prettier-plugin-jsx-attr-sort

@thecrypticace thecrypticace self-assigned this Jul 23, 2025
* tailwind-main:
  Upgrade dev dependencies (tailwindlabs#388)

# Conflicts:
#	package-lock.json
#	package.json
* tailwind-main:
  Add support for callable template literals when using custom JSX parser (tailwindlabs#367)
  Handle quotes in `@plugin`, `@config`, and `@source` (tailwindlabs#387)
  Drop support for `prettier-plugin-import-sort` (tailwindlabs#385)
  Remove `declare` to clean up global scope (tailwindlabs#354)
@mattiamalonni
Copy link
Author

Hi @thecrypticace

Just wondering if there are any updates or blockers on this PR?

@thecrypticace
Copy link
Contributor

So — we'd normally want to wait on merging support for new plugins until it becomes more widely used and/or asked for.

I'll start a discussion about this internally though and get back to you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants