Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Add support for NuxtLink and RouterLink
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkrida committed Feb 21, 2022
1 parent b452920 commit bca66c8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,17 @@ module.exports = {
'vue/no-restricted-syntax': [
'error',
{
selector: 'VElement[name=a]',
selector: 'VElement[name="a"]',
message: 'Use the <VLink> component instead of a raw <a> tag.',
},
{
selector: 'VElement[name="nuxtlink"]',
message: 'Use the <VLink> component instead of <NuxtLink>.',
},
{
selector: 'VElement[name="routerlink"]',
message: 'Use the <VLink> component instead of <RouterLink>.',
},
],
'unicorn/filename-case': ['error', { case: 'kebabCase' }],
},
Expand Down

0 comments on commit bca66c8

Please sign in to comment.