Skip to content

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

@hyperupcall

Description

@hyperupcall

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions