vuln-list-update/.golangci.yml
Teppei Fukuda e9a5af7af0
chore: bump Go to 1.20 (#242)
Signed-off-by: knqyf263 <knqyf263@gmail.com>
2023-09-21 10:20:21 +03:00

39 lines
817 B
YAML

run:
go: 1.20
timeout: 5m
linters:
enable:
- gofmt
- bodyclose
- staticcheck
- unused
- gci
- gomodguard
- tenv
- gosimple
- govet
disable:
- errcheck
- ineffassign
- structcheck
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/aquasecurity/)
- blank
- dot
gomodguard:
blocked:
modules:
- github.com/hashicorp/go-version:
recommendations:
- github.com/aquasecurity/go-version
reason: "`aquasecurity/go-version` is degisned for our use-cases"
- github.com/Masterminds/semver:
recommendations:
- github.com/aquasecurity/go-version
reason: "`aquasecurity/go-version` is degisned for our use-cases"