settings.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "typescript.tsdk": "node_modules/typescript/lib",
  3. "typescript.preferences.includePackageJsonAutoImports": "on",
  4. "typescript.updateImportsOnFileMove.enabled": "always",
  5. "typescript.tsserver.watchOptions": {
  6. "watchFile": "useFsEvents",
  7. "watchDirectory": "useFsEvents",
  8. "fallbackPolling": "dynamicPriority",
  9. "synchronousWatchDirectory": true,
  10. "excludeDirectories": ["**/node_modules", "**/dist", "**/.git"]
  11. },
  12. "typescript.tsserver.experimental.enableProjectDiagnostics": true,
  13. "i18n-ally.localesPaths": [
  14. "src/locales"
  15. ],
  16. "i18n-ally.keystyle": "nested",
  17. "i18n-ally.sourceLanguage": "en-US",
  18. "i18n-ally.displayLanguage": "en-US",
  19. "i18n-ally.sortKeys": true,
  20. "i18n-ally.pathMatcher": "{locale}/{namespace}.ts",
  21. "i18n-ally.namespace": true,
  22. "i18n-ally.enabledFrameworks": [
  23. "react"
  24. ],
  25. "i18n-ally.enabledParsers": [
  26. "json",
  27. "yaml",
  28. "ts"
  29. ],
  30. "i18n-ally.parsers.typescript.compilerOptions": {
  31. "module": "commonjs",
  32. "moduleResolution": "node",
  33. "target": "es2015",
  34. "allowJs": true,
  35. "esModuleInterop": true,
  36. "allowSyntheticDefaultImports": true
  37. },
  38. "editor.codeActionsOnSave": {
  39. "source.fixAll.stylelint": "explicit",
  40. "source.fixAll.eslint": "explicit"
  41. },
  42. "stylelint.validate": [
  43. "css",
  44. "less",
  45. "scss",
  46. "sass"
  47. ],
  48. "stylelint.configFile": ".stylelintrc.mjs",
  49. "stylelint.config": null,
  50. "stylelint.ignoreDisables": false,
  51. "stylelint.enable": true,
  52. "css.validate": false,
  53. "less.validate": false,
  54. "scss.validate": false,
  55. "eslint.validate": [
  56. "javascript",
  57. "javascriptreact",
  58. "typescript",
  59. "typescriptreact"
  60. ],
  61. "eslint.format.enable": true,
  62. "eslint.run": "onSave"
  63. }