settings.json 772 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. // Use the project's typescript version
  3. "typescript.tsdk": "node_modules/typescript/lib",
  4. "cSpell.enabledFileTypes": {
  5. "markdown": true,
  6. "plaintext": true,
  7. "text": true,
  8. "yml": true
  9. },
  10. "prettier.enable": false,
  11. "eslint.enable": false,
  12. "oxc.enable": true,
  13. "editor.codeActionsOnSave": {
  14. "source.fixAll.oxc": "explicit"
  15. },
  16. // Use Oxc to format TypeScript, JavaScript and JSON files
  17. "[typescript]": {
  18. "editor.defaultFormatter": "oxc.oxc-vscode"
  19. },
  20. "[javascript]": {
  21. "editor.defaultFormatter": "oxc.oxc-vscode"
  22. },
  23. // oxc-vscode does not yet support JSON formatting
  24. // "[json]": {
  25. // "editor.defaultFormatter": "oxc.oxc-vscode"
  26. // },
  27. "editor.formatOnSave": true,
  28. "vitest.disableWorkspaceWarning": true
  29. }