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:
Viktor Malmedal 2022-12-14 18:28:29 +01:00 committed by GitHub
parent 81f30dd495
commit 4a448773b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 291 additions and 67 deletions

View file

@ -426,10 +426,8 @@ function SearchPageContent(): JSX.Element {
'text--right',
styles.searchLogoColumn,
)}>
<a
target="_blank"
rel="noopener noreferrer"
href="https://www.algolia.com/"
<Link
to="https://www.algolia.com/"
aria-label={translate({
id: 'theme.SearchPage.algoliaLabel',
message: 'Search by Algolia',
@ -451,7 +449,7 @@ function SearchPageContent(): JSX.Element {
/>
</g>
</svg>
</a>
</Link>
</div>
</div>