We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62668d4 commit c6fb0f2Copy full SHA for c6fb0f2
pkg/config/issues.go
@@ -79,13 +79,13 @@ var DefaultExcludePatterns = []ExcludePattern{
79
},
80
{
81
ID: "EXC0012",
82
- Pattern: "exported (method|function|type|const) (.+) should have comment or be unexported",
+ Pattern: `exported (.+) should have comment or be unexported`,
83
Linter: "revive",
84
Why: "Annoying issue about not having a comment. The rare codebase has such comments",
85
86
87
ID: "EXC0013",
88
- Pattern: `package comment should be of the form "Package (.+) ..."`,
+ Pattern: `comment on exported (.+) should be of the form "(.+)..."`,
89
90
91
0 commit comments