vuln-list-update/.golangci.yml

39 lines
817 B
YAML
Raw Normal View History

2022-04-06 11:25:07 +03:00
run:
go: 1.20
2022-04-06 11:25:07 +03:00
timeout: 5m
linters:
enable:
- gofmt
- bodyclose
- staticcheck
- unused
- gci
- gomodguard
- tenv
2022-04-06 11:25:07 +03:00
- gosimple
- govet
disable:
- errcheck
2022-04-06 11:25:07 +03:00
- 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"