settings.json 867 B

12345678910111213141516171819202122232425
  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": [["cn\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]],
  17. "npm.packageManager": "pnpm",
  18. "i18n-ally.localesPaths": ["src/locales/lang"],
  19. "i18n-ally.enabledParsers": ["json"],
  20. "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
  21. "i18n-ally.keystyle": "flat",
  22. "i18n-ally.sortKeys": true,
  23. "i18n-ally.sourceLanguage": "en_US",
  24. "i18n-ally.displayLanguage": "zh_CN"
  25. }