Skip to content

Could Overqualified Elements check rest of usage? #44

Closed
@LeeKowalkowski

Description

@LeeKowalkowski

For a class, if every occurrence of element.my-class is div.my-class, then of course that looks overqualified and unnecessary. But if I have li.my-class dt.my-class and dd.my-class, then they do not appear to be overqualified.

I think this warning should only be displayed if every occurrence of element.class is a reference to the same HTML tag name.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions