settings.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "files.eol": "\n",
  3. "files.autoSave": "off",
  4. "files.readonlyInclude": {
  5. "dist/**/*": true,
  6. "node_modules/**/*": true,
  7. "pnpm-lock.yaml": true
  8. },
  9. "search.exclude": {
  10. "dist/**/*": true
  11. },
  12. "editor.tabSize": 2,
  13. "editor.formatOnSave": true,
  14. "editor.defaultFormatter": "esbenp.prettier-vscode",
  15. "editor.codeActionsOnSave": {
  16. "source.fixAll.eslint": "explicit",
  17. "source.fixAll.stylelint": "explicit"
  18. },
  19. "explorer.fileNesting.enabled": true,
  20. "explorer.fileNesting.patterns": {
  21. "tsconfig.json": "tsconfig.*.json, env.d.ts",
  22. "vite.config.*": "jsconfig*, uno.config.*, vitest.config.*, cypress.config.*, playwright.config.*",
  23. "package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .stylelint*, .prettier*, prettier*, .editorconfig"
  24. },
  25. "extensions.ignoreRecommendations": false,
  26. "eslint.validate": ["json"],
  27. "stylelint.validate": ["scss", "vue"],
  28. "scss.validate": false,
  29. "cssvar.files": ["src/styles/**/*.scss", "node_modules/element-plus/theme-chalk/el-var.css"],
  30. "cssvar.ignore": ["**/node_modules", "**/dist"],
  31. "i18n-ally.localesPaths": "src/i18n/locales",
  32. "i18n-ally.sourceLanguage": "zh",
  33. "i18n-ally.displayLanguage": "zh",
  34. "i18n-ally.keystyle": "nested",
  35. "i18n-ally.sortKeys": true,
  36. "i18n-ally.keepFulfilled": true,
  37. "vue.codeActions.enabled": false,
  38. "path-intellisense.mappings": {
  39. "@": "${workspaceFolder}/src"
  40. },
  41. "typescript.tsdk": "node_modules/typescript/lib"
  42. }