From d47428ccc718ec9676dafb3a730bb74e9ff8da0c Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Tue, 19 Nov 2024 13:46:35 +0800 Subject: [PATCH] chore: pnpm eslint . --fix --- eslint.config.js | 1 + src/components/Notify/NotifyList.vue | 2 +- src/components/SearchMenu/SearchModal.vue | 7 ++++--- src/components/SearchMenu/SearchResult.vue | 2 +- src/hooks/useFullscreenLoading.ts | 3 ++- src/hooks/useWatermark.ts | 3 ++- src/layouts/components/Sidebar/SidebarItem.vue | 4 ++-- src/layouts/components/TagsView/ScrollPane.vue | 6 +++--- src/layouts/components/TagsView/index.vue | 10 +++++----- src/router/helper.ts | 17 +++++------------ src/router/index.ts | 3 ++- src/store/modules/tags-view.ts | 9 +++------ src/utils/service.ts | 6 +++--- src/utils/validate.ts | 9 +++------ src/views/table/element-plus/index.vue | 3 ++- 15 files changed, 39 insertions(+), 46 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 8cf6c36..db38303 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -22,6 +22,7 @@ export default antfu( rules: { // vue "vue/block-order": ["error", { order: ["script", "template", "style"] }], + "vue/attributes-order": "off", // ts "ts/no-use-before-define": "off", // node diff --git a/src/components/Notify/NotifyList.vue b/src/components/Notify/NotifyList.vue index 040bc05..b9d1b93 100644 --- a/src/components/Notify/NotifyList.vue +++ b/src/components/Notify/NotifyList.vue @@ -10,7 +10,7 @@ const props = defineProps()