settings.json 908 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "typescript.tsdk": "./node_modules/typescript/lib",
  3. "editor.tabSize": 2,
  4. "editor.formatOnSave": true,
  5. "prettier.configPath": ".prettierrc.cjs",
  6. // 默认格式化工具选择prettier
  7. "editor.defaultFormatter": "esbenp.prettier-vscode",
  8. "scss.lint.unknownAtRules": "ignore",
  9. "editor.codeActionsOnSave": {
  10. "source.fixAll": "never",
  11. "source.fixAll.eslint": "explicit"
  12. },
  13. "editor.quickSuggestions": {
  14. "strings": "on"
  15. },
  16. "tailwindCSS.experimental.classRegex": [
  17. [
  18. "cn\\(([^)]*)\\)",
  19. "[\"'`]([^\"'`]*).*?[\"'`]"
  20. ]
  21. ],
  22. "npm.packageManager": "pnpm",
  23. "i18n-ally.localesPaths": [
  24. "src/locales/lang"
  25. ],
  26. "i18n-ally.enabledParsers": [
  27. "json"
  28. ],
  29. "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
  30. "i18n-ally.keystyle": "flat",
  31. "i18n-ally.sortKeys": true,
  32. "i18n-ally.sourceLanguage": "en_US",
  33. "i18n-ally.displayLanguage": "zh_CN"
  34. }