diff --git a/.eslintrc.js b/.eslintrc.js index 0df7a8f89c..22b877e5fe 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -58,9 +58,17 @@ module.exports = { 'vue/no-restricted-syntax': [ 'error', { - selector: 'VElement[name=a]', + selector: 'VElement[name="a"]', message: 'Use the component instead of a raw tag.', }, + { + selector: 'VElement[name="nuxtlink"]', + message: 'Use the component instead of .', + }, + { + selector: 'VElement[name="routerlink"]', + message: 'Use the component instead of .', + }, ], 'unicorn/filename-case': ['error', { case: 'kebabCase' }], },