
This linter checks for unnecessary type convertions. Some convertions are whitelisted because their type is different on 32bit platforms Signed-off-by: Daniel Nephin <dnephin@gmail.com>
25 lines
387 B
JSON
25 lines
387 B
JSON
{
|
|
"Vendor": true,
|
|
"Deadline": "2m",
|
|
"Sort": ["linter", "severity", "path", "line"],
|
|
"Exclude": [
|
|
".*\\.pb\\.go",
|
|
"fetch\\.go:.*::error: unrecognized printf verb 'r'"
|
|
],
|
|
"EnableGC": true,
|
|
|
|
"Enable": [
|
|
"structcheck",
|
|
"unused",
|
|
"varcheck",
|
|
"staticcheck",
|
|
"unconvert",
|
|
|
|
"gofmt",
|
|
"goimports",
|
|
"golint",
|
|
"ineffassign",
|
|
"vet"
|
|
]
|
|
}
|