mirror of
1
Fork 0
gotosocial/vendor/github.com/gin-contrib/gzip/.golangci.yml

49 lines
732 B
YAML

linters:
enable-all: false
disable-all: true
fast: false
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
- errcheck
- exportloopref
- exhaustive
- gochecknoinits
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- lll
- misspell
- nakedret
- noctx
- nolintlint
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
- gofumpt
run:
timeout: 3m
linters-settings:
dupl:
# tokens count to trigger issue, 150 by default
threshold: 200