Skip to content

[label-has-associated-control] Glob format not supporting labelComponents #972

@regexyl

Description

@regexyl

The docs mention that:

Glob format is also supported for specifying names (e.g., Label* matches LabelComponent but not CustomLabel, ????Label matches LinkLabel but not CustomLabel).

It seems like glob matching only occurs for controlComponents, not labelComponents in jsx-a11y/label-has-associated-control, though it seems like (and makes sense) to have it applied to both of them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions