Skip to content

Commit

Permalink
Add lint checks for gzip/zlib
Browse files Browse the repository at this point in the history
Since we want to use a faster gzip/zlib libraries we should add a lint check so that it's used everywhere

Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
  • Loading branch information
prymitive committed Oct 5, 2022
1 parent 11ab417 commit bf5451e
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
Expand Up @@ -32,6 +32,8 @@ linters-settings:
- github.com/go-kit/kit/log: "Use github.com/go-kit/log instead of github.com/go-kit/kit/log"
- io/ioutil: "Use corresponding 'os' or 'io' functions instead."
- regexp: "Use github.com/grafana/regexp instead of regexp"
- gzip: "Use github.com/klauspost/compress instead of gzip"
- zlib: "Use github.com/klauspost/compress instead of zlib"
errcheck:
exclude: scripts/errcheck_excludes.txt
goimports:
Expand Down

0 comments on commit bf5451e

Please sign in to comment.