Skip to content

Commit

Permalink
build(lint): Allow Link components as valid anchor elements
Browse files Browse the repository at this point in the history
  • Loading branch information
qrg committed Dec 9, 2019
1 parent 0b89a1a commit 811f108
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ const rules = {
argsIgnorePattern: '^_',
varsIgnorePattern: '^_'
}
],
'jsx-a11y/anchor-is-valid': [
'error',
{
components: ['Link'],
aspects: ['invalidHref', 'preferButton']
}
]
};

Expand Down

0 comments on commit 811f108

Please sign in to comment.