diff --git a/.golangci.yml b/.golangci.yml index 6d1d939..769aafb 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -26,3 +26,11 @@ linters-settings: packages: - github.com/mmcloughlin/avo - golang.org/x/ + +issues: + exclude-use-default: false + exclude: + # 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 + # 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)