Allow configuration of the `attr-sorted` sort order
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 474
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 12
Description
The attr-sorted rule currently has a rigid built-in order for the attributes, that cannot be changed (as far as I can see).
It would be better if this sort order array was exposed to config, so the end user project can override HTMLHint's built-in sort order with their own - in case of differing views of what order attributes should be in, and/or common project-specific custom attributes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the attr-sorted rule and the configuration handling for its built-in attribute order. Done means projects can override that order, including adding project-specific custom attributes, while the existing default behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100