diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 10cf2bab..ffc43edd 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -4,4 +4,9 @@ module.exports = { node: true, }, extends: ["plugin:vue/vue3-recommended", "eslint:recommended", "@unocss", "plugin:prettier/recommended"], + rules: { + "vue/no-undef-components": ["error", { + ignorePatterns: ["router-link", "router-view", "i18n-t", "ErrorHandler"] + }], + }, }; diff --git a/src/components/CommentItem.vue b/src/components/CommentItem.vue index f010a658..fc64be9e 100644 --- a/src/components/CommentItem.vue +++ b/src/components/CommentItem.vue @@ -50,6 +50,7 @@
+