Skip to content

Support new plugin: prettier-plugin-jsx-attr-sort #383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mattiamalonni
Copy link

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://www.npmjs.com/package/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