Skip to content
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

Is it possible to sort classes on .astro files? #194

Closed
AlexMayol opened this issue Dec 6, 2022 · 2 comments
Closed

Is it possible to sort classes on .astro files? #194

AlexMayol opened this issue Dec 6, 2022 · 2 comments

Comments

@AlexMayol
Copy link

Is your feature request related to a problem? Please describe.
I'm trying to get the VSCode extension working on .astro files (from AstroJS)

Describe the solution you'd like
Is there a config that works for these files? I haven't figured it out.

Additional context
When saving a file, classes are not being sorted as they are in .html files. Example
<header class="bg-primary-900 text-white md:p-4 p-2 sticky top-0 z-50">

@phaberest
Copy link

Hi @AlexMayol 🙌🏻 I would suggest you to move to the prettier or eslint plugins as suggested in #185 (comment)

@AlexMayol
Copy link
Author

@phaberest Thank you, I didn't know about the plugin!

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

No branches or pull requests

2 participants