diff --git a/pkg/config/issues.go b/pkg/config/issues.go index 3b5a780f..71bf2a90 100644 --- a/pkg/config/issues.go +++ b/pkg/config/issues.go @@ -79,7 +79,7 @@ var DefaultExcludePatterns = []ExcludePattern{ }, { ID: "EXC0012", - Pattern: `exported (.+) should have comment or be unexported`, + Pattern: `exported (.+) should have comment( \(or a comment on this block\))? or be unexported`, Linter: "revive", Why: "Annoying issue about not having a comment. The rare codebase has such comments", },