You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I can definitely see both readings (that it applies only to control, and that it applies to both. I think that paragraph needs some splitting up for clarity regardless.
If we can enable glob support on label components in a non-breaking way, then I'm happy to add it.
The docs mention that:
It seems like glob matching only occurs for
controlComponents
, notlabelComponents
in jsx-a11y/label-has-associated-control, though it seems like (and makes sense) to have it applied to both of them.The text was updated successfully, but these errors were encountered: