Skip to content

Commit

Permalink
ci: Enforce comments on public methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Jul 22, 2024
1 parent aaffb9d commit 3d8818c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
linters-settings:
gofmt:
revive:
rules:
- name: exported
arguments:
- disableStutteringCheck
testifylint:
wrapcheck:

Expand All @@ -10,3 +14,8 @@ linters:
- revive
- testifylint
- wrapcheck

issues:
include:
- EXC0012 # EXC0012 revive: Annoying issue about not having a comment. The rare codebase has such comments
- EXC0014 # EXC0014 revive: Annoying issue about not having a comment. The rare codebase has such comments

0 comments on commit 3d8818c

Please sign in to comment.