2017-05-02 15:10:03 -04:00
|
|
|
{
|
|
|
|
"Vendor": true,
|
2017-06-14 20:30:45 -04:00
|
|
|
"Deadline": "2m",
|
2017-09-26 12:33:35 -04:00
|
|
|
"Sort": ["linter", "severity", "path", "line"],
|
|
|
|
"Exclude": [
|
|
|
|
"cli/compose/schema/bindata.go",
|
2017-11-20 09:30:52 -05:00
|
|
|
"cli/command/stack/kubernetes/api/openapi",
|
|
|
|
"cli/command/stack/kubernetes/api/client",
|
|
|
|
".*generated.*",
|
2017-09-26 12:33:35 -04:00
|
|
|
"parameter .* always receives"
|
|
|
|
],
|
|
|
|
"EnableGC": true,
|
2017-10-12 11:44:03 -04:00
|
|
|
"Linters": {
|
|
|
|
"nakedret": {
|
|
|
|
"Command": "nakedret",
|
|
|
|
"Pattern": "^(?P<path>.*?\\.go):(?P<line>\\d+)\\s*(?P<message>.*)$"
|
|
|
|
}
|
|
|
|
},
|
2017-10-11 12:18:27 -04:00
|
|
|
"WarnUnmatchedDirective": true,
|
2017-05-02 15:10:03 -04:00
|
|
|
|
|
|
|
"DisableAll": true,
|
2017-05-02 15:48:52 -04:00
|
|
|
"Enable": [
|
2017-05-02 16:22:13 -04:00
|
|
|
"deadcode",
|
|
|
|
"gocyclo",
|
2017-05-02 15:48:52 -04:00
|
|
|
"gofmt",
|
|
|
|
"goimports",
|
2017-05-02 16:22:13 -04:00
|
|
|
"golint",
|
2017-06-09 17:42:16 -04:00
|
|
|
"gosimple",
|
2017-05-02 16:22:13 -04:00
|
|
|
"ineffassign",
|
2017-05-03 17:58:52 -04:00
|
|
|
"interfacer",
|
2017-05-03 18:14:30 -04:00
|
|
|
"lll",
|
2017-05-23 11:33:38 -04:00
|
|
|
"misspell",
|
2017-10-12 11:44:03 -04:00
|
|
|
"nakedret",
|
2017-06-09 16:41:53 -04:00
|
|
|
"unconvert",
|
2017-06-09 17:16:56 -04:00
|
|
|
"unparam",
|
2017-06-09 12:32:14 -04:00
|
|
|
"unused",
|
2017-05-02 16:22:13 -04:00
|
|
|
"vet"
|
2017-05-02 16:14:43 -04:00
|
|
|
],
|
|
|
|
|
2017-09-26 12:53:21 -04:00
|
|
|
"Cyclo": 16,
|
2017-05-03 18:14:30 -04:00
|
|
|
"LineLength": 200
|
2017-05-02 15:10:03 -04:00
|
|
|
}
|