Files
PicList/.vscode/settings.json
2026-06-11 02:22:23 -07:00

150 lines
4.4 KiB
JSON

{
"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.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": {
"source.fixAll.eslint": "always"
},
"editor.formatOnSave": false
},
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"editor.formatOnSave": false
},
"[vue]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always",
"source.fixAll.stylelint": "always"
},
"editor.formatOnSave": false
},
"[typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"editor.formatOnSave": false
},
"[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",
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": "always"
},
"editor.formatOnSave": 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"]
}