lint: disable comment exclusion in golangci-lint

Updates #9
This commit is contained in:
Michael McLoughlin
2019-01-05 16:51:04 -08:00
parent 7eb55c9ac5
commit 0989c0daea

View File

@@ -32,5 +32,3 @@ issues:
exclude: exclude:
# errcheck: Almost all programs ignore errors on these functions and in most cases it's ok # errcheck: Almost all programs ignore errors on these functions and in most cases it's ok
- Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Un)?Setenv). is not checked - Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Un)?Setenv). is not checked
# golint: Annoying issue about not having a comment. The rare codebase has such comments
- (comment on exported (method|function|type|const)|should have( a package)? comment|comment should be of the form)