We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a38fcf commit 1bef5dfCopy full SHA for 1bef5df
pkg/config/issues.go
@@ -79,7 +79,7 @@ var DefaultExcludePatterns = []ExcludePattern{
79
},
80
{
81
ID: "EXC0012",
82
- Pattern: `exported (.+) should have comment or be unexported`,
+ Pattern: `exported (.+) should have comment( \(or a comment on this block\))? or be unexported`,
83
Linter: "revive",
84
Why: "Annoying issue about not having a comment. The rare codebase has such comments",
85
0 commit comments