From c9f30046ebce341fa9da08be351a39afd30c56a0 Mon Sep 17 00:00:00 2001 From: Linxzh Date: Thu, 12 Oct 2023 17:09:06 +0800 Subject: [PATCH] =?UTF-8?q?env:=20=E4=BF=AE=E6=94=B9vscode=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/setting.json | 8 -------- .vscode/settings.json | 5 +++++ src/hooks.ts | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 .vscode/setting.json diff --git a/.vscode/setting.json b/.vscode/setting.json deleted file mode 100644 index 80cdd9a..0000000 --- a/.vscode/setting.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "editor.formatOnType": false, - "editor.formatOnSave": true, - "editor.codeActionsOnSave": { - "source.fixAll.eslint": true - }, - "editor.tabSize": 2 -} diff --git a/.vscode/settings.json b/.vscode/settings.json index cbb678e..dbad89b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,9 @@ { "editor.tabSize": 2, "files.eol": "\n", + "editor.formatOnType": false, + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + }, } diff --git a/src/hooks.ts b/src/hooks.ts index 0ddb4e5..ab44e0e 100644 --- a/src/hooks.ts +++ b/src/hooks.ts @@ -4,7 +4,7 @@ import { UIExampleFactory, } from "./modules/jasminum"; import { config } from "../package.json"; -import { getString, initLocale } from "./utils/locale"; +import { initLocale } from "./utils/locale"; import { registerPrefsScripts } from "./modules/preferenceScript"; import { displayMenuitem } from "../src/modules/ui";