Skip to content

Commit

Permalink
Merge pull request #30 from hovedstyret/fix/eslint-link-rule
Browse files Browse the repository at this point in the history
change eslint rule for <a> tags inside <Link>
  • Loading branch information
MorganFH authored Jan 28, 2021
2 parents 467d6d7 + ab7cdca commit 15cc4a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
"depth":25
}
],
"jsx-a11y/anchor-is-valid": [ "error", {
"components": [ "Link" ],
"specialLink": [ "hrefLeft", "hrefRight" ],
"aspects": [ "invalidHref", "preferButton" ]
}],
"@typescript-eslint/no-explicit-any":"off"
},
"settings":{
Expand Down

0 comments on commit 15cc4a1

Please sign in to comment.