We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84520c5 commit 1ff1d67Copy full SHA for 1ff1d67
pkg/config/config.go
@@ -28,7 +28,7 @@ var DefaultExcludePatterns = []ExcludePattern{
28
Why: "Almost all programs ignore errors on these functions and in most cases it's ok",
29
},
30
{
31
- Pattern: "(comment on exported (method|function)|should have( a package)? comment|comment should be of the form)",
+ Pattern: "(comment on exported (method|function|type)|should have( a package)? comment|comment should be of the form)",
32
Linter: "golint",
33
Why: "Annoying issue about not having a comment. The rare codebase has such comments",
34
0 commit comments