Last active
May 31, 2018 04:40
-
-
Save uudashr/56942a80cb00577c210e84ad00374d61 to your computer and use it in GitHub Desktop.
VS Code - Go project common settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"go.autocompleteUnimportedPackages": true, | |
"go.gocodeAutoBuild": true, | |
"go.buildOnSave": "off", | |
"go.testOnSave": true, | |
"go.testFlags": ["-short"], | |
"go.lintTool": "golangci-lint", | |
"go.lintFlags": [ | |
"--exclude-use-default=false", | |
"--enable=golint", | |
"--enable=gocyclo", | |
"--enable=goconst", | |
"--enable=unconvert", | |
"--exclude=^Error return value of `.*\\.Log` is not checked$", | |
"--exclude=^G104: Errors unhandled\\.$$", | |
"--exclude=^G304: Potential file inclusion via variable$$" | |
], | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"vendor/": true, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment