-
Notifications
You must be signed in to change notification settings - Fork 931
/
.golangci.json
45 lines (45 loc) · 1.31 KB
/
.golangci.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"run": {
"concurrency": 4,
"timeout": "20m"
},
"linters": {
"disable-all": true,
"enable": [
"govet",
"goimports",
"errcheck",
"staticcheck",
"unused",
"ineffassign"
]
},
"linters-settings": {},
"issues": {
"max-same-issue": 0,
"exclude-files": [
"integration/helpers/fake_server.go",
"command/plugin/*.go$"
],
"exclude": [
"Error return value of `client.GetApplicationTasks` is not checked",
"Error return value of `logger.output.Stop` is not checked",
"Error return value of `request.ResetBody` is not checked",
"Error return value of `GinkgoWriter.Write` is not checked",
"Error return value of `c.terminalHelper.RestoreTerminal` is not checked",
"U1000: field `allproxy` is unused",
"U1000: field `dockerPassword` is unused",
"U1000: field `envCFStagingTimeout` is unused",
"U1000: field `envCFStartupTimeout` is unused",
"U1000: field `relatedCommands` is unused",
"U1000: field `usage` is unused",
"SA5008: duplicate struct tag \"choice\"",
"`allproxy` is unused",
"`dockerPassword` is unused",
"`envCFStagingTimeout` is unused",
"`envCFStartupTimeout` is unused",
"`relatedCommands` is unused",
"`usage` is unused"
]
}
}