settings.json 534 B

123456789101112131415161718192021222324
  1. // Place your settings in this file to overwrite default and user settings.
  2. {
  3. "editor.tabSize": 2,
  4. "go.lintTool": "gometalinter",
  5. "go.lintFlags": [
  6. "--enable-gc",
  7. "--no-config",
  8. "--exclude=.*\\.pb\\.go",
  9. "--disable=gas",
  10. "--disable=gocyclo",
  11. "--disable=gosec",
  12. "--disable=interfacer",
  13. "--deadline=5m"
  14. ],
  15. "go.formatTool": "goimports",
  16. "protoc": {
  17. "options": [
  18. "--proto_path=${env.GOPATH}/src/",
  19. "--proto_path=${env.GOPATH}/src/github.com/google/protobuf/src"
  20. ]
  21. }
  22. }