Skip to content

Commit

Permalink
ci: ignore err-check lintings for io.Copy
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhop committed Jan 16, 2024
1 parent 3435b12 commit 018974e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
linters-settings:
errcheck:
exclude-functions:
# Don't flag lines such as "io.Copy(io.Discard, resp.Body)".
- io.Copy
# Never check for logger errors.
- (github.com/go-kit/log.Logger).Log

0 comments on commit 018974e

Please sign in to comment.