ignore 'comment on exported type ... should be of the form' by default
This commit is contained in:
parent
84520c527e
commit
1ff1d6733f
@ -28,7 +28,7 @@ var DefaultExcludePatterns = []ExcludePattern{
|
||||
Why: "Almost all programs ignore errors on these functions and in most cases it's ok",
|
||||
},
|
||||
{
|
||||
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)",
|
||||
Linter: "golint",
|
||||
Why: "Annoying issue about not having a comment. The rare codebase has such comments",
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user