mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-07-12 16:11:27 +08:00
📦 Chore(custom): update vscode setting
This commit is contained in:
120
.vscode/settings.json
vendored
120
.vscode/settings.json
vendored
@@ -1,9 +1,77 @@
|
||||
{
|
||||
"npm.packageManager": "yarn",
|
||||
"editor.detectIndentation": false,
|
||||
"editor.insertSpaces": true,
|
||||
"editor.tabSize": 2,
|
||||
"editor.rulers": [120],
|
||||
"editor.formatOnSave": false,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit",
|
||||
"source.fixAll.stylelint": "explicit"
|
||||
},
|
||||
"files.encoding": "utf8",
|
||||
"files.eol": "\n",
|
||||
"files.insertFinalNewline": true,
|
||||
"files.trimFinalNewlines": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"files.watcherExclude": {
|
||||
"**/.git/objects/**": true,
|
||||
"**/.git/subtree-cache/**": true,
|
||||
"**/dist/**": true,
|
||||
"**/dist_electron/**": true,
|
||||
"**/node_modules/**": true,
|
||||
"**/out/**": true
|
||||
},
|
||||
"search.exclude": {
|
||||
"**/dist": true,
|
||||
"**/dist_electron": true,
|
||||
"**/node_modules": true,
|
||||
"**/out": true
|
||||
},
|
||||
"explorer.fileNesting.enabled": true,
|
||||
"explorer.fileNesting.patterns": {
|
||||
"package.json": "yarn.lock, pnpm-lock.yaml, package-lock.json",
|
||||
"tsconfig.json": "tsconfig.*.json",
|
||||
"electron.vite.config.js": "electron-builder.json",
|
||||
"README.md": "README_cn.md, FAQ.md, FAQ_EN.md, CHANGELOG.md"
|
||||
},
|
||||
"eslint.useFlatConfig": true,
|
||||
"eslint.experimental.useFlatConfig": null,
|
||||
"eslint.run": "onSave",
|
||||
"eslint.codeActionsOnSave.mode": "all",
|
||||
"eslint.format.enable": true,
|
||||
"eslint.workingDirectories": [
|
||||
{
|
||||
"mode": "auto"
|
||||
}
|
||||
],
|
||||
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "vue", "json", "jsonc"],
|
||||
"stylelint.validate": ["css", "scss", "less", "vue"],
|
||||
"css.validate": false,
|
||||
"scss.validate": false,
|
||||
"less.validate": false,
|
||||
"prettier.requireConfig": true,
|
||||
"prettier.useEditorConfig": true,
|
||||
"js/ts.tsdk.path": "node_modules/typescript/lib",
|
||||
"js/ts.tsdk.promptToUseWorkspaceVersion": true,
|
||||
"js/ts.tsserver.maxMemory": 4096,
|
||||
"js/ts.preferences.quoteStyle": "single",
|
||||
"js/ts.updateImportsOnFileMove.enabled": "always",
|
||||
"tailwindCSS.includeLanguages": {
|
||||
"vue": "html"
|
||||
},
|
||||
"emmet.includeLanguages": {
|
||||
"vue": "html",
|
||||
"vue-html": "html"
|
||||
},
|
||||
"i18n-ally.localesPaths": ["src/renderer/i18n/locales", "src/main/i18n/locales"],
|
||||
"i18n-ally.keystyle": "nested",
|
||||
"i18n-ally.sortKeys": true,
|
||||
"i18n-ally.namespace": true,
|
||||
"i18n-ally.enabledParsers": ["json", "yaml"],
|
||||
"i18n-ally.sourceLanguage": "en",
|
||||
"i18n-ally.displayLanguage": "zh-CN",
|
||||
"i18n-ally.enabledFrameworks": ["vue"],
|
||||
"i18n-ally.editor.preferEditor": true,
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
||||
"editor.codeActionsOnSave": {
|
||||
@@ -21,7 +89,8 @@
|
||||
"[vue]": {
|
||||
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "always"
|
||||
"source.fixAll.eslint": "always",
|
||||
"source.fixAll.stylelint": "always"
|
||||
},
|
||||
"editor.formatOnSave": false
|
||||
},
|
||||
@@ -39,8 +108,21 @@
|
||||
},
|
||||
"editor.formatOnSave": false
|
||||
},
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit"
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"[jsonc]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"[markdown]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"[yaml]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"[css]": {
|
||||
"editor.defaultFormatter": "stylelint.vscode-stylelint",
|
||||
@@ -49,19 +131,19 @@
|
||||
},
|
||||
"editor.formatOnSave": false
|
||||
},
|
||||
"eslint.validate": ["javascript", "javascriptreact", "vue", "typescript", "typescriptreact", "json", "jsonc"],
|
||||
"githubPullRequests.ignoredPullRequestBranches": ["dev"],
|
||||
"i18n-ally.localesPaths": ["src\\renderer\\i18n\\locales", "resources\\i18n", "src\\main\\i18n\\locales"],
|
||||
"i18n-ally.keystyle": "nested",
|
||||
"i18n-ally.sortKeys": true,
|
||||
"i18n-ally.namespace": true,
|
||||
"i18n-ally.enabledParsers": ["json", "yaml"],
|
||||
"i18n-ally.sourceLanguage": "en",
|
||||
"i18n-ally.displayLanguage": "zh-CN",
|
||||
"i18n-ally.enabledFrameworks": ["vue"],
|
||||
"i18n-ally.editor.preferEditor": true,
|
||||
"js/ts.tsdk.path": "node_modules\\typescript\\lib",
|
||||
"css.validate": false,
|
||||
"scss.validate": false,
|
||||
"less.validate": false
|
||||
"[scss]": {
|
||||
"editor.defaultFormatter": "stylelint.vscode-stylelint",
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.stylelint": "always"
|
||||
},
|
||||
"editor.formatOnSave": false
|
||||
},
|
||||
"[less]": {
|
||||
"editor.defaultFormatter": "stylelint.vscode-stylelint",
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.stylelint": "always"
|
||||
},
|
||||
"editor.formatOnSave": false
|
||||
},
|
||||
"githubPullRequests.ignoredPullRequestBranches": ["dev"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user