settings.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "files.eol": "\n",
  3. "files.autoSave": "off",
  4. "files.readonlyInclude": {
  5. ".husky/**/*": true,
  6. "dist/**/*": true,
  7. "node_modules/**/*": true,
  8. "pnpm-lock.yaml": true
  9. },
  10. "search.exclude": {
  11. "dist/**/*": true
  12. },
  13. "editor.tabSize": 2,
  14. "editor.formatOnSave": true,
  15. "editor.defaultFormatter": "esbenp.prettier-vscode",
  16. "editor.codeActionsOnSave": {
  17. "source.fixAll.eslint": "explicit",
  18. "source.fixAll.stylelint": "explicit"
  19. },
  20. "explorer.fileNesting.enabled": true,
  21. "explorer.fileNesting.patterns": {
  22. "tsconfig.json": "tsconfig.*.json, env.d.ts",
  23. "vite.config.*": "jsconfig*, uno.config.*, vitest.config.*, cypress.config.*, playwright.config.*",
  24. "package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .stylelint*, .prettier*, prettier*, .editorconfig, .lintstaged*, .commitlint*"
  25. },
  26. "extensions.ignoreRecommendations": false,
  27. "eslint.validate": ["json"],
  28. "stylelint.validate": ["scss", "vue"],
  29. "scss.validate": false,
  30. "cssvar.files": ["src/styles/**/*.scss"],
  31. "cssvar.ignore": ["**/node_modules", "**/dist"],
  32. "i18n-ally.localesPaths": "src/i18n/locales",
  33. "i18n-ally.sourceLanguage": "zh",
  34. "i18n-ally.displayLanguage": "zh",
  35. "i18n-ally.keystyle": "nested",
  36. "i18n-ally.sortKeys": true,
  37. "i18n-ally.keepFulfilled": true,
  38. "vue.codeActions.enabled": false,
  39. "path-intellisense.mappings": {
  40. "@": "${workspaceFolder}/src"
  41. },
  42. "typescript.tsdk": "node_modules/typescript/lib",
  43. "gitlens.remotes": [
  44. {
  45. "domain": "192.168.1.224:10880",
  46. "type": "Custom",
  47. "name": "Unimat Git",
  48. "protocol": "http",
  49. "urls": {
  50. "repository": "http://192.168.1.224:10880/${repo}",
  51. "branches": "http://192.168.1.224:10880/${repo}/branches",
  52. "branch": "http://192.168.1.224:10880/${repo}/commits/${branch}",
  53. "commit": "http://192.168.1.224:10880/${repo}/commit/${id}",
  54. "file": "http://192.168.1.224:10880/${repo}?path=${file}${line}",
  55. "fileInBranch": "http://192.168.1.224:10880/${repo}/blob/${branch}/${file}${line}",
  56. "fileInCommit": "http://192.168.1.224:10880/${repo}/blob/${id}/${file}${line}",
  57. "fileLine": "#L${line}",
  58. "fileRange": "#L${start}-L${end}"
  59. }
  60. }
  61. ],
  62. "GitCommitPlugin.ShowEmoji": false,
  63. "GitCommitPlugin.MaxSubjectCharacters": 60
  64. }