mirror of https://github.com/docker/cli.git
39 lines
668 B
JSON
39 lines
668 B
JSON
{
|
|
"Vendor": true,
|
|
"Deadline": "2m",
|
|
"Sort": ["linter", "severity", "path", "line"],
|
|
"Exclude": [
|
|
"cli/compose/schema/bindata.go",
|
|
"parameter .* always receives"
|
|
],
|
|
"EnableGC": true,
|
|
"Linters": {
|
|
"nakedret": {
|
|
"Command": "nakedret",
|
|
"Pattern": "^(?P<path>.*?\\.go):(?P<line>\\d+)\\s*(?P<message>.*)$"
|
|
}
|
|
},
|
|
|
|
"DisableAll": true,
|
|
"Enable": [
|
|
"deadcode",
|
|
"gocyclo",
|
|
"gofmt",
|
|
"goimports",
|
|
"golint",
|
|
"gosimple",
|
|
"ineffassign",
|
|
"interfacer",
|
|
"lll",
|
|
"misspell",
|
|
"nakedret",
|
|
"unconvert",
|
|
"unparam",
|
|
"unused",
|
|
"vet"
|
|
],
|
|
|
|
"Cyclo": 16,
|
|
"LineLength": 200
|
|
}
|