Skip to content

Commit

Permalink
revive: fix exclude comment rule for const block. (#2064)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jun 19, 2021
1 parent 6924df8 commit a207480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/issues.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var DefaultExcludePatterns = []ExcludePattern{
},
{
ID: "EXC0012",
Pattern: `exported (.+) should have comment or be unexported`,
Pattern: `exported (.+) should have comment( \(or a comment on this block\))? or be unexported`,
Linter: "revive",
Why: "Annoying issue about not having a comment. The rare codebase has such comments",
},
Expand Down

0 comments on commit a207480

Please sign in to comment.