ㅑ후
This commit is contained in:
parent
56fd172eaf
commit
0d223d2580
8
.vscode/settings.json
vendored
8
.vscode/settings.json
vendored
|
@ -1,11 +1,3 @@
|
|||
// 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"
|
||||
]
|
||||
|
||||
}
|
39
golint.json
39
golint.json
|
@ -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"]
|
||||
}
|
Loading…
Reference in New Issue
Block a user