-
-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi again! I think it’d be handy for the sort-attrs rule to accept patterns/wildcards, akin to some of the other rules (like no-restricted-attrs).
I’m imagining this sort of thing:
"@html-eslint/sort-attrs": ["error", {
"priority": [
"id",
"@*",
":*",
"webc:*",
"aria-*",
]
}]I’m a WebC stan, but Vue directives are probably a wider use-case.
(Thanks again! Cheers.)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request