settings.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "typescript.tsdk": "node_modules/typescript/lib",
  3. "prettier.enable": true,
  4. "editor.formatOnType": true,
  5. "editor.formatOnSave": true,
  6. "editor.formatOnPaste": true,
  7. "editor.codeActionsOnSave": {
  8. "source.fixAll.eslint": true
  9. },
  10. "[vue]": {
  11. "editor.defaultFormatter": "esbenp.prettier-vscode"
  12. },
  13. "[javascript]": {
  14. "editor.defaultFormatter": "esbenp.prettier-vscode"
  15. },
  16. "[typescript]": {
  17. "editor.defaultFormatter": "esbenp.prettier-vscode"
  18. },
  19. "[json]": {
  20. "editor.defaultFormatter": "esbenp.prettier-vscode"
  21. },
  22. "[jsonc]": {
  23. "editor.defaultFormatter": "esbenp.prettier-vscode"
  24. },
  25. "[html]": {
  26. "editor.defaultFormatter": "esbenp.prettier-vscode"
  27. },
  28. "[css]": {
  29. "editor.defaultFormatter": "esbenp.prettier-vscode"
  30. },
  31. "[scss]": {
  32. "editor.defaultFormatter": "esbenp.prettier-vscode"
  33. },
  34. "i18n-ally.localesPaths": ["src/locales"],
  35. "i18n-ally.keystyle": "nested",
  36. "i18n-ally.sortKeys": true,
  37. "i18n-ally.namespace": true,
  38. "i18n-ally.enabledParsers": ["ts"],
  39. "i18n-ally.sourceLanguage": "en",
  40. "i18n-ally.displayLanguage": "zh-CN",
  41. "i18n-ally.enabledFrameworks": ["vue", "react"],
  42. "god.tsconfig": "./tsconfig.json"
  43. }