gometalinter runs linters in parallel for faster linting it provides a uniform way of whitelisting lines using // nolint or the exclude field in the config Signed-off-by: Daniel Nephin <dnephin@gmail.com>
20 lines
335 B
JSON
20 lines
335 B
JSON
{
|
|
"Vendor": true,
|
|
"Deadline": "2m",
|
|
"Sort": ["linter", "severity", "path", "line"],
|
|
"Exclude": [
|
|
".*\\.pb\\.go",
|
|
"fetch\\.go:.*::error: unrecognized printf verb 'r'"
|
|
],
|
|
"EnableGC": true,
|
|
"WarnUnmatchedDirective": true,
|
|
|
|
"Enable": [
|
|
"gofmt",
|
|
"goimports",
|
|
"golint",
|
|
"ineffassign",
|
|
"vet"
|
|
]
|
|
}
|