settings.json 850 B

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