Skip to content

Commit

Permalink
chore(lint): drop go-kit/log configs, enable sloglint
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhop committed Nov 4, 2024
1 parent c81ae5a commit 81e3455
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
linters:
enable:
- sloglint

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 81e3455

Please sign in to comment.