settings.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. {
  2. "typescript.tsdk": "./node_modules/typescript/lib",
  3. "volar.tsPlugin": true,
  4. "volar.tsPluginStatus": false,
  5. "npm.packageManager": "pnpm",
  6. "editor.tabSize": 2,
  7. "editor.defaultFormatter": "esbenp.prettier-vscode",
  8. "files.eol": "\n",
  9. "search.exclude": {
  10. "**/node_modules": true,
  11. "**/*.log": true,
  12. "**/*.log*": true,
  13. "**/bower_components": true,
  14. "**/dist": true,
  15. "**/elehukouben": true,
  16. "**/.git": true,
  17. "**/.gitignore": true,
  18. "**/.svn": true,
  19. "**/.DS_Store": true,
  20. "**/.idea": true,
  21. "**/.vscode": false,
  22. "**/yarn.lock": true,
  23. "**/tmp": true,
  24. "out": true,
  25. "dist": true,
  26. "node_modules": true,
  27. "CHANGELOG.md": true,
  28. "examples": true,
  29. "res": true,
  30. "screenshots": true,
  31. "yarn-error.log": true,
  32. "**/.yarn": true
  33. },
  34. "files.exclude": {
  35. "**/.cache": true,
  36. "**/.editorconfig": true,
  37. "**/.eslintcache": true,
  38. "**/bower_components": true,
  39. "**/.idea": true,
  40. "**/tmp": true,
  41. "**/.git": true,
  42. "**/.svn": true,
  43. "**/.hg": true,
  44. "**/CVS": true,
  45. "**/.DS_Store": true
  46. },
  47. "files.watcherExclude": {
  48. "**/.git/objects/**": true,
  49. "**/.git/subtree-cache/**": true,
  50. "**/.vscode/**": true,
  51. "**/node_modules/**": true,
  52. "**/tmp/**": true,
  53. "**/bower_components/**": true,
  54. "**/dist/**": true,
  55. "**/yarn.lock": true
  56. },
  57. "stylelint.enable": true,
  58. "stylelint.validate": [
  59. "css",
  60. "less",
  61. "postcss",
  62. "scss",
  63. "vue",
  64. "sass"
  65. ],
  66. "path-intellisense.mappings": {
  67. "@/": "${workspaceRoot}/src"
  68. },
  69. "[javascriptreact]": {
  70. "editor.defaultFormatter": "esbenp.prettier-vscode"
  71. },
  72. "[typescript]": {
  73. "editor.defaultFormatter": "esbenp.prettier-vscode"
  74. },
  75. "[typescriptreact]": {
  76. "editor.defaultFormatter": "esbenp.prettier-vscode"
  77. },
  78. "[html]": {
  79. "editor.defaultFormatter": "esbenp.prettier-vscode"
  80. },
  81. "[css]": {
  82. "editor.defaultFormatter": "esbenp.prettier-vscode"
  83. },
  84. "[less]": {
  85. "editor.defaultFormatter": "esbenp.prettier-vscode"
  86. },
  87. "[scss]": {
  88. "editor.defaultFormatter": "esbenp.prettier-vscode"
  89. },
  90. "[markdown]": {
  91. "editor.defaultFormatter": "esbenp.prettier-vscode"
  92. },
  93. "editor.codeActionsOnSave": {
  94. "source.fixAll.eslint": "explicit",
  95. "source.fixAll.stylelint": "explicit"
  96. },
  97. "[vue]": {
  98. "editor.codeActionsOnSave": {
  99. "source.fixAll.eslint": "explicit",
  100. "source.fixAll.stylelint": "explicit"
  101. },
  102. "editor.defaultFormatter": "esbenp.prettier-vscode"
  103. },
  104. "i18n-ally.localesPaths": [
  105. "src/locales/lang"
  106. ],
  107. "i18n-ally.keystyle": "nested",
  108. "i18n-ally.sortKeys": true,
  109. "i18n-ally.namespace": true,
  110. "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
  111. "i18n-ally.enabledParsers": ["json","ts","js"],
  112. "i18n-ally.sourceLanguage": "en",
  113. "i18n-ally.displayLanguage": "zh-CN",
  114. "i18n-ally.enabledFrameworks": [
  115. "vue",
  116. "react"
  117. ],
  118. "cSpell.words": [
  119. "antd",
  120. "antv",
  121. "brotli",
  122. "browserslist",
  123. "codemirror",
  124. "commitlint",
  125. "cropperjs",
  126. "echarts",
  127. "esnext",
  128. "esno",
  129. "iconify",
  130. "INTLIFY",
  131. "lintstagedrc",
  132. "logicflow",
  133. "mockjs",
  134. "nprogress",
  135. "pinia",
  136. "pnpm",
  137. "qrcode",
  138. "sider",
  139. "sortablejs",
  140. "stylelint",
  141. "tailwindcss",
  142. "tinymce",
  143. "unocss",
  144. "unref",
  145. "vben",
  146. "vditor",
  147. "Vite",
  148. "vitejs",
  149. "vueuse",
  150. "zxcvbn"
  151. ],
  152. "vetur.format.scriptInitialIndent": true,
  153. "vetur.format.styleInitialIndent": true,
  154. "vetur.validation.script": false,
  155. "MicroPython.executeButton": [
  156. {
  157. "text": "▶",
  158. "tooltip": "运行",
  159. "alignment": "left",
  160. "command": "extension.executeFile",
  161. "priority": 3.5
  162. }
  163. ],
  164. "MicroPython.syncButton": [
  165. {
  166. "text": "$(sync)",
  167. "tooltip": "同步",
  168. "alignment": "left",
  169. "command": "extension.execute",
  170. "priority": 4
  171. }
  172. ],
  173. // 控制相关文件嵌套展示
  174. "explorer.fileNesting.enabled": true,
  175. "explorer.fileNesting.expand": false,
  176. "explorer.fileNesting.patterns": {
  177. "*.ts": "$(capture).test.ts, $(capture).test.tsx",
  178. "*.tsx": "$(capture).test.ts, $(capture).test.tsx",
  179. "*.env": "$(capture).env.*",
  180. "CHANGELOG.md": "CHANGELOG*",
  181. "package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,README*,.npmrc,.browserslistrc",
  182. ".eslintrc.cjs": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.*,.prettierrc.*,.stylelintrc.*"
  183. },
  184. "terminal.integrated.scrollback": 10000,
  185. "nuxt.isNuxtApp": false
  186. }