e9a5af7af0
Signed-off-by: knqyf263 <knqyf263@gmail.com>
39 lines
817 B
YAML
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"
|
|
|