Skip to content

Commit

Permalink
activate linter goerr113 (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoLiberali authored Jan 8, 2024
1 parent b281391 commit 6fccf53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ linters:
- structcheck # [deprecated, replaced by unused] finds unused struct fields
- varcheck # [deprecated, replaced by unused] finds unused global variables and constants
# can be util in the future for better errors
- goerr113 # [too strict] checks the errors handling expressions
- wrapcheck # [too strict] checks that errors returned from external packages are wrapped
fast: false

Expand Down Expand Up @@ -227,6 +226,10 @@ issues:
- gomnd
- exhaustive
- dupl
- goerr113
- path: ^cmd/
linters:
- goerr113
# We need to use the deprecated module since the jsonpb replacement is not backwards compatible.
- linters:
- staticcheck
Expand Down

0 comments on commit 6fccf53

Please sign in to comment.