-
-
Notifications
You must be signed in to change notification settings - Fork 450
Ability to have attributes sorted #309
Copy link
Copy link
Closed
Labels
bot:staleIssue marked as stale because there was no activityIssue marked as stale because there was no activityfeature requestFunctionality that introduces a new featureFunctionality that introduces a new featuretriageAn HTMLHint team member will look at this issueAn HTMLHint team member will look at this issue
Metadata
Metadata
Assignees
Labels
bot:staleIssue marked as stale because there was no activityIssue marked as stale because there was no activityfeature requestFunctionality that introduces a new featureFunctionality that introduces a new featuretriageAn HTMLHint team member will look at this issueAn HTMLHint team member will look at this issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is your feature request related to a problem? Please describe.
Unsorted HTML attributes are annoying to look through but even more annoying to fix. It would be neat if HTMLHint could automatically order attribute tags.
Describe the solution you'd like
When linted, HTML attributes should be sorted in some (ideally configurable) order. Like so:
Should become:
Describe alternatives you've considered
--
Additional context
I don't exactly agree with this sort order but it illustrates the point:
http://codeguide.co/#html-attribute-order