settings.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "cSpell.words": ["Vitesse", "Vite", "unocss", "vitest", "vueuse", "pinia", "demi", "antfu", "iconify", "intlify", "vitejs", "unplugin", "pnpm"],
  3. "i18n-ally.sourceLanguage": "en",
  4. "i18n-ally.keystyle": "nested",
  5. "i18n-ally.localesPaths": "locales",
  6. "i18n-ally.sortKeys": true,
  7. // Disable the default formatter
  8. "prettier.enable": false,
  9. "editor.formatOnSave": false,
  10. // Auto fix
  11. "editor.codeActionsOnSave": {
  12. "source.fixAll.eslint": "explicit",
  13. "source.organizeImports": "never"
  14. },
  15. // Silent the stylistic rules in you IDE, but still auto fix them
  16. "eslint.rules.customizations": [
  17. { "rule": "style/*", "severity": "off" },
  18. { "rule": "format/*", "severity": "off" },
  19. { "rule": "*-indent", "severity": "off" },
  20. { "rule": "*-spacing", "severity": "off" },
  21. { "rule": "*-spaces", "severity": "off" },
  22. { "rule": "*-order", "severity": "off" },
  23. { "rule": "*-dangle", "severity": "off" },
  24. { "rule": "*-newline", "severity": "off" },
  25. { "rule": "*quotes", "severity": "off" },
  26. { "rule": "*semi", "severity": "off" }
  27. ],
  28. // The following is optional.
  29. // It's better to put under project setting `.vscode/settings.json`
  30. // to avoid conflicts with working with different eslint configs
  31. // that does not support all formats.
  32. "eslint.validate": [
  33. "javascript",
  34. "javascriptreact",
  35. "typescript",
  36. "typescriptreact",
  37. "vue",
  38. "html",
  39. "markdown",
  40. "json",
  41. "jsonc",
  42. "yaml"
  43. ]
  44. }