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