settings.json 877 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "typescript.tsdk": "./node_modules/typescript/lib",
  3. "editor.formatOnSave": true,
  4. "editor.codeActionsOnSave": {
  5. // For ESLint
  6. "source.fixAll.eslint": true,
  7. // For Stylelint
  8. "source.fixAll.stylelint": true
  9. },
  10. "[markdown]": {
  11. "editor.formatOnSave": false
  12. },
  13. "[javascript]": {
  14. "editor.formatOnSave": false
  15. },
  16. "[json]": {
  17. "editor.formatOnSave": false
  18. },
  19. "[jsonc]": {
  20. "editor.formatOnSave": false
  21. },
  22. "files.watcherExclude": {
  23. "**/.git/*/**": true,
  24. "**/node_modules/*/**": true,
  25. "**/dist/*/**": true,
  26. "**/coverage/*/**": true
  27. },
  28. "files.associations": {
  29. "*.json": "jsonc",
  30. ".prettierrc": "jsonc",
  31. ".stylelintrc": "jsonc"
  32. },
  33. // Angular schematics 插件: https://marketplace.visualstudio.com/items?itemName=cyrilletuzi.angular-schematics
  34. "ngschematics.schematics": [
  35. "ng-alain"
  36. ]
  37. }