Skip to content

Commit

Permalink
Merge pull request #135 from sue445/revive_exported
Browse files Browse the repository at this point in the history
ci: Enforce comments on public methods
  • Loading branch information
sue445 authored Jul 22, 2024
2 parents 1a79513 + 864ad8d commit 2bc4b65
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 2bc4b65

Please sign in to comment.