2019-06-20 16:36:40 -07:00
|
|
|
run:
|
|
|
|
deadline: 60m
|
|
|
|
skip-dirs:
|
|
|
|
- "internal"
|
|
|
|
|
|
|
|
linters:
|
|
|
|
enable-all: true
|
2022-05-18 20:19:39 +00:00
|
|
|
disable: funlen,gocognit,exhaustivestruct,paralleltest,forbidigo,ireturn,wrapcheck,exhaustive,maintidx,exhaustruct
|
2020-03-25 13:21:55 -07:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
dupl:
|
|
|
|
threshold: 200
|
2020-05-11 15:13:24 -07:00
|
|
|
nestif:
|
2021-05-21 20:47:28 +00:00
|
|
|
min-complexity: 26
|
2021-12-13 19:23:31 +00:00
|
|
|
cyclop:
|
|
|
|
max-complexity: 40
|
|
|
|
skip-tests: true
|
|
|
|
varnamelen:
|
|
|
|
check-return: true
|
|
|
|
ignore-type-assert-ok: true
|
|
|
|
ignore-map-index-ok: true
|
|
|
|
ignore-chan-recv-ok: true
|
|
|
|
ignore-names:
|
|
|
|
- err
|
|
|
|
- ok
|
|
|
|
- gc
|
2022-03-21 17:37:23 +00:00
|
|
|
- wg
|
|
|
|
ignore-decls:
|
|
|
|
- n int
|
|
|
|
- i int
|
|
|
|
- r *os.File
|
|
|
|
- w *os.File
|
|
|
|
- to int64
|
|
|
|
- l *ldap.Conn
|
|
|
|
wsl:
|
|
|
|
allow-assign-and-anything: true
|
|
|
|
enforce-err-cuddling: true
|
|
|
|
nolintlint:
|
|
|
|
allow-unused: true
|
2021-12-13 19:23:31 +00:00
|
|
|
gomnd:
|
|
|
|
settings:
|
|
|
|
mnd:
|
|
|
|
checks: argument,case,condition,operation,return,assign
|
|
|
|
ignored-numbers: 10,64
|
|
|
|
gomoddirectives:
|
|
|
|
replace-allow-list:
|
|
|
|
- github.com/aquasecurity/fanal
|
|
|
|
- github.com/aquasecurity/trivy
|
|
|
|
- github.com/aquasecurity/trivy-db
|
|
|
|
- github.com/containers/image/v5
|
2022-01-06 18:26:35 +00:00
|
|
|
- github.com/opencontainers/image-spec
|
2022-02-12 01:06:57 +00:00
|
|
|
- github.com/open-policy-agent/opa
|
2022-03-02 21:20:35 +00:00
|
|
|
- go.opentelemetry.io/otel
|
|
|
|
- go.opentelemetry.io/otel/exporters/otlp
|
|
|
|
- go.opentelemetry.io/otel/metric
|
|
|
|
- go.opentelemetry.io/otel/sdk
|
2022-05-03 20:39:13 +00:00
|
|
|
- github.com/hashicorp/go-getter
|
2022-05-24 18:11:36 +00:00
|
|
|
- github.com/opencontainers/runc
|