mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 01:17:23 +08:00
fix: vscode setting
This commit is contained in:
parent
c9c8f20cc5
commit
5e9198c2e0
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@ -10,7 +10,6 @@
|
|||||||
* TypeScript Vue Plugin (Volar)
|
* TypeScript Vue Plugin (Volar)
|
||||||
* Vue Language Features (Volar)
|
* Vue Language Features (Volar)
|
||||||
*/
|
*/
|
||||||
"terminal.integrated.rendererType": "dom",
|
|
||||||
"editor.formatOnType": true,
|
"editor.formatOnType": true,
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"javascript.updateImportsOnFileMove.enabled": "always",
|
"javascript.updateImportsOnFileMove.enabled": "always",
|
||||||
@ -34,8 +33,6 @@
|
|||||||
"comments": true,
|
"comments": true,
|
||||||
"strings": true
|
"strings": true
|
||||||
},
|
},
|
||||||
// Automatically fix some syntax errors of ts
|
|
||||||
"tslint.autoFixOnSave": true,
|
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
// Specifies the location of snippets in the suggestion widget
|
// Specifies the location of snippets in the suggestion widget
|
||||||
"editor.snippetSuggestions": "top"
|
"editor.snippetSuggestions": "top"
|
||||||
@ -43,11 +40,9 @@
|
|||||||
"[css]": {
|
"[css]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
"cSpell.userWords": ["sourcemap", "vite"],
|
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll.eslint": true
|
"source.fixAll.eslint": true
|
||||||
},
|
},
|
||||||
"volar.tsPlugin": true,
|
|
||||||
"typescript.tsdk": "node_modules/typescript/lib",
|
"typescript.tsdk": "node_modules/typescript/lib",
|
||||||
"i18n-ally.localesPaths": ["src/plugins/i18n"],
|
"i18n-ally.localesPaths": ["src/plugins/i18n"],
|
||||||
"i18n-ally.keystyle": "nested",
|
"i18n-ally.keystyle": "nested",
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,css,scss,postcss,less}\" --cache --cache-location node_modules/.cache/stylelint/",
|
"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:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
||||||
"lint:pretty": "pretty-quick --staged",
|
"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",
|
"prepare": "husky install",
|
||||||
"preinstall": "npx only-allow pnpm"
|
"preinstall": "npx only-allow pnpm"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user