This commit is contained in:
crusader 2017-08-30 15:09:18 +09:00
parent 56fd172eaf
commit 0d223d2580
2 changed files with 0 additions and 47 deletions

View File

@ -1,11 +1,3 @@
// Place your settings in this file to overwrite default and user settings. // Place your settings in this file to overwrite default and user settings.
{ {
// Specifies Lint tool name.
"go.lintTool": "gometalinter",
// Flags to pass to Lint tool (e.g. ["-min_confidence=.8"])
"go.lintFlags": [
"--config=${workspaceRoot}/golint.json"
]
} }

View File

@ -1,39 +0,0 @@
{
"DisableAll": true,
"Enable": [
"aligncheck",
"deadcode",
"dupl",
"errcheck",
"gas",
"goconst",
"gocyclo",
"gofmt",
"goimports",
"golint",
"gotype",
"ineffassign",
"interfacer",
"lll",
"megacheck",
"misspell",
"structcheck",
"test",
"testify",
"unconvert",
"varcheck",
"vet",
"vetshadow"
],
"Aggregate": true,
"Concurrency": 16,
"Cyclo": 60,
"Deadline": "60s",
"DuplThreshold": 50,
"EnableGC": true,
"LineLength": 120,
"MinConfidence": 0.8,
"MinOccurrences": 3,
"MinConstLength": 3,
"Sort": ["severity"]
}