mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 06:50:36 +02:00
feat: add eslint plugin no-html-links (#8156)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com> Co-authored-by: Viktor Malmedal <viktor.malmedal@eniro.com> Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com> Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This commit is contained in:
parent
81f30dd495
commit
4a448773b6
23 changed files with 291 additions and 67 deletions
|
@ -90,6 +90,7 @@ export function SkipToContentLink(props: SkipToContentLinkProps): JSX.Element {
|
|||
ref={containerRef}
|
||||
role="region"
|
||||
aria-label={DefaultSkipToContentLabel}>
|
||||
{/* eslint-disable-next-line @docusaurus/no-html-links */}
|
||||
<a
|
||||
{...props}
|
||||
// Note this is a fallback href in case JS is disabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue