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
the current config for jsx-a11y/anchor-is-valid dings us when a react router Link component doesn't have an href attribute, even if it has a to attribute.
the current config for
jsx-a11y/anchor-is-valid
dings us when a react routerLink
component doesn't have anhref
attribute, even if it has ato
attribute.The following rule update covers this use case:
/* eslint 'jsx-a11y/anchor-is-valid': ['error', { components: ['Link'], specialLink: ['to'], aspects: ['noHref', 'invalidHref', 'preferButton'], }] */
The text was updated successfully, but these errors were encountered: