vuln-list-update/.golangci.yml
DmitriyLewen f1f4c3e8e6
refactor(nvd): use API instead of JSON feeds (#258)
Signed-off-by: knqyf263 <knqyf263@gmail.com>
Co-authored-by: knqyf263 <knqyf263@gmail.com>
2023-12-18 20:34:54 +04:00

39 lines
817 B
YAML

run:
go: 1.21
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"