settings.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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", "node_modules/element-plus/theme-chalk/el-var.css"],
  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. "GitCommitPlugin.ShowEmoji": false,
  44. "GitCommitPlugin.MaxSubjectCharacters": 60
  45. }