Skip to content

Commit

Permalink
Merge pull request #169 from prometheus/superq/errcheck
Browse files Browse the repository at this point in the history
Cleanup golangci-lint errcheck
  • Loading branch information
SuperQ authored Oct 4, 2023
2 parents f7f4001 + fc608e7 commit 3ac25a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ issues:

linters-settings:
errcheck:
exclude: scripts/errcheck_excludes.txt
exclude-functions:
# Used in HTTP handlers, any error is handled by the server itself.
- (net/http.ResponseWriter).Write
# Never check for logger errors.
- (github.com/go-kit/log.Logger).Log

4 changes: 0 additions & 4 deletions scripts/errcheck_excludes.txt

This file was deleted.

0 comments on commit 3ac25a4

Please sign in to comment.