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

@ -53,14 +53,14 @@ function TeamProfileCard({
<div className="card__footer">
<div className="button-group button-group--block">
{githubUrl && (
<a className="button button--secondary" href={githubUrl}>
<Link className="button button--secondary" href={githubUrl}>
GitHub
</a>
</Link>
)}
{twitterUrl && (
<a className="button button--secondary" href={twitterUrl}>
<Link className="button button--secondary" href={twitterUrl}>
Twitter
</a>
</Link>
)}
</div>
</div>