From 2eb04c849331fd14266b6e7fb8b5229675169a79 Mon Sep 17 00:00:00 2001 From: whr2349 <378237242@qq.com> Date: Tue, 7 Jan 2025 16:35:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor(vscode):=20=E8=B0=83=E6=95=B4=20ESLint?= =?UTF-8?q?=20=E9=85=8D=E7=BD=AE=E5=B9=B6=E6=A0=BC=E5=BC=8F=E5=8C=96?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 "source.fixAll.eslint" 设置为 "explicit" 模式 - 格式化 .vscode/settings --- .vscode/settings.json | 2 +- src/components/common/app-loading.vue | 10 ++++++++++ src/layouts/index.ts | 10 ++++++++++ src/main.ts | 11 +++++++++++ src/settings/index.ts | 10 ++++++++++ src/store/modules/theme/helpers.ts | 15 ++++++++++++++- 6 files changed, 56 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 9cc38b1e..3f848af3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -48,7 +48,7 @@ "ភាសាខ្មែរ" ], "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "editor.fontLigatures": true, "editor.formatOnSave": false, diff --git a/src/components/common/app-loading.vue b/src/components/common/app-loading.vue index f81875f7..0448baf1 100644 --- a/src/components/common/app-loading.vue +++ b/src/components/common/app-loading.vue @@ -1,3 +1,13 @@ +