setting.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "sync.gist": "38a3beb36ad3969fc98c7e65e3d2095e",
  3. "git.path": "S:\\software\\Git\\cmd\\git.exe",
  4. "[typescript]": {
  5. "editor.defaultFormatter": "esbenp.prettier-vscode"
  6. },
  7. "search.exclude": {
  8. "**/node_modules": false,
  9. "**/bower_components": true,
  10. "**/target": false,
  11. "**/logs": true
  12. },
  13. "editor.formatOnPaste": true,
  14. "javascript.updateImportsOnFileMove.enabled": "always",
  15. "files.encoding": "utf8",
  16. "files.autoGuessEncoding": false,
  17. "files.autoSave": "off",
  18. "files.eol": "\n",
  19. "editor.tabSize": 2,
  20. "git.autofetch": true,
  21. "editor.detectIndentation": false,
  22. "vetur.validation.template": false,
  23. // "eslint.autoFixOnSave": true,
  24. "eslint.validate": [
  25. "javascript",
  26. "javascriptreact",
  27. {
  28. "language": "vue",
  29. "autoFix": true
  30. },
  31. {
  32. "language": "html",
  33. "autoFix": true
  34. }
  35. ],
  36. "vetur.format.defaultFormatter.html": "js-beautify-html",
  37. "vetur.format.defaultFormatterOptions": {
  38. "js-beautify-html": {
  39. "wrap-line-length": 120,
  40. "wrap_attributes": "aligned-multiple",
  41. },
  42. "prettier": {
  43. "singleQuote": true,
  44. "trailingComma": "es5",
  45. "printWidth": 160,
  46. },
  47. },
  48. "vetur.format.defaultFormatter.js": "vscode-typescript",
  49. "git.confirmSync": false,
  50. "editor.suggestSelection": "first",
  51. "editor.cursorBlinking": "smooth",
  52. "files.watcherExclude": {
  53. "**/package-lock.json": true
  54. },
  55. "files.exclude": {
  56. "**/.settings": true,
  57. "**/.factorypath": true
  58. },
  59. "diffEditor.ignoreTrimWhitespace": true,
  60. "editor.quickSuggestions": {
  61. "strings": true
  62. },
  63. "[javascript]": {
  64. "editor.defaultFormatter": "esbenp.prettier-vscode"
  65. }, // jade/pug quotes
  66. "prettier.printWidth": 180,
  67. "prettier.singleQuote": true,
  68. "prettier.trailingComma": "es5",
  69. "prettier.bracketSpacing": true,
  70. "editor.snippetSuggestions": "top",
  71. "[jsonc]": {
  72. "editor.defaultFormatter": "esbenp.prettier-vscode"
  73. },
  74. "[vue]": {
  75. "editor.defaultFormatter": "octref.vetur"
  76. },
  77. }