mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-20 22:00:23 -04:00
43 lines
824 B
JSON
43 lines
824 B
JSON
{
|
|
"Vendor": true,
|
|
"Deadline": "2m",
|
|
"Sort": ["linter", "severity", "path", "line"],
|
|
"Exclude": [
|
|
"cli/compose/schema/bindata.go",
|
|
"cli/command/stack/kubernetes/api/openapi",
|
|
"cli/command/stack/kubernetes/api/client",
|
|
".*generated.*",
|
|
"parameter .* always receives"
|
|
],
|
|
"EnableGC": true,
|
|
"Linters": {
|
|
"nakedret": {
|
|
"Command": "nakedret",
|
|
"Pattern": "^(?P<path>.*?\\.go):(?P<line>\\d+)\\s*(?P<message>.*)$"
|
|
}
|
|
},
|
|
"WarnUnmatchedDirective": true,
|
|
|
|
"DisableAll": true,
|
|
"Enable": [
|
|
"deadcode",
|
|
"gocyclo",
|
|
"gofmt",
|
|
"goimports",
|
|
"golint",
|
|
"gosimple",
|
|
"ineffassign",
|
|
"interfacer",
|
|
"lll",
|
|
"misspell",
|
|
"nakedret",
|
|
"unconvert",
|
|
"unparam",
|
|
"unused",
|
|
"vet"
|
|
],
|
|
|
|
"Cyclo": 16,
|
|
"LineLength": 200
|
|
}
|