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