Skip to content

Commit

Permalink
chore(lint): exclude govet shadowing checks for err and ok (#1940)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 authored Nov 2, 2021
1 parent becec9e commit d2334e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@ issues:
linters:
- revive

- text: 'shadow: declaration of "err" shadows declaration*'
linters:
- govet

- text: 'shadow: declaration of "ok" shadows declaration*'
linters:
- govet

# Exclude known linters from partially hard-vendored code,
# which is impossible to exclude via "nolint" comments.
- path: internal/hmac/
Expand Down

0 comments on commit d2334e3

Please sign in to comment.