Skip to content

Commit 1ff1d67

Browse files
committed
ignore 'comment on exported type ... should be of the form' by default
1 parent 84520c5 commit 1ff1d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var DefaultExcludePatterns = []ExcludePattern{
2828
Why: "Almost all programs ignore errors on these functions and in most cases it's ok",
2929
},
3030
{
31-
Pattern: "(comment on exported (method|function)|should have( a package)? comment|comment should be of the form)",
31+
Pattern: "(comment on exported (method|function|type)|should have( a package)? comment|comment should be of the form)",
3232
Linter: "golint",
3333
Why: "Annoying issue about not having a comment. The rare codebase has such comments",
3434
},

0 commit comments

Comments
 (0)