From 5e9198c2e0f6ee1d3c200a7fa171a59ccc6e9373 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Tue, 18 Jan 2022 17:05:42 +0800 Subject: [PATCH] fix: vscode setting --- .vscode/settings.json | 5 ----- .vscode/{vue3.0.code-snippets.json => vue3.0.code-snippets} | 0 .../{vue3.2+.setup-snippets.json => vue3.2.code-snippets} | 0 package.json | 2 +- 4 files changed, 1 insertion(+), 6 deletions(-) rename .vscode/{vue3.0.code-snippets.json => vue3.0.code-snippets} (100%) rename .vscode/{vue3.2+.setup-snippets.json => vue3.2.code-snippets} (100%) diff --git a/.vscode/settings.json b/.vscode/settings.json index 63e444178..b785fae66 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,7 +10,6 @@ * TypeScript Vue Plugin (Volar) * Vue Language Features (Volar) */ - "terminal.integrated.rendererType": "dom", "editor.formatOnType": true, "editor.formatOnSave": true, "javascript.updateImportsOnFileMove.enabled": "always", @@ -34,8 +33,6 @@ "comments": true, "strings": true }, - // Automatically fix some syntax errors of ts - "tslint.autoFixOnSave": true, "files.associations": { // Specifies the location of snippets in the suggestion widget "editor.snippetSuggestions": "top" @@ -43,11 +40,9 @@ "[css]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "cSpell.userWords": ["sourcemap", "vite"], "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, - "volar.tsPlugin": true, "typescript.tsdk": "node_modules/typescript/lib", "i18n-ally.localesPaths": ["src/plugins/i18n"], "i18n-ally.keystyle": "nested", diff --git a/.vscode/vue3.0.code-snippets.json b/.vscode/vue3.0.code-snippets similarity index 100% rename from .vscode/vue3.0.code-snippets.json rename to .vscode/vue3.0.code-snippets diff --git a/.vscode/vue3.2+.setup-snippets.json b/.vscode/vue3.2.code-snippets similarity index 100% rename from .vscode/vue3.2+.setup-snippets.json rename to .vscode/vue3.2.code-snippets diff --git a/package.json b/package.json index 54dfbca20..135f066f2 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,css,scss,postcss,less}\" --cache --cache-location node_modules/.cache/stylelint/", "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", "lint:pretty": "pretty-quick --staged", - "lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint && pnpm lint:pretty", + "lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint", "prepare": "husky install", "preinstall": "npx only-allow pnpm" },