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

Implement HTML tag-dependent sorting for attr-sorted #1374

Open
hyperupcall opened this issue Oct 19, 2023 · 0 comments
Open

Implement HTML tag-dependent sorting for attr-sorted #1374

hyperupcall opened this issue Oct 19, 2023 · 0 comments

Comments

@hyperupcall
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently, attr-sorted is a native rule, sorting a limited set of properties.

There are many properties missing, and adding all properties in a single way is hard to maintain.

Describe the solution you'd like

This could be fixed by sorting HTML attributes specific to a particular tag.

Additionally, by making sorting per-HTML tag, this would make overriding the configuration easier and less-repetitive

Describe alternatives you've considered

Not doing this

@hyperupcall hyperupcall changed the title tag-dependent sorting for attr-sorted Implement HTML tag-dependent sorting for attr-sorted Oct 19, 2023
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

1 participant