2020-07-18 05:41:51 +00:00
|
|
|
run:
|
|
|
|
timeout: 10m
|
|
|
|
skip-files:
|
|
|
|
- ".*\\.pb\\.go$"
|
|
|
|
|
|
|
|
modules-download-mode: vendor
|
|
|
|
|
|
|
|
build-tags:
|
2020-10-05 03:30:50 +00:00
|
|
|
- dfrunsecurity
|
2021-06-09 09:48:01 +00:00
|
|
|
- dfheredoc
|
2020-07-18 05:41:51 +00:00
|
|
|
|
|
|
|
linters:
|
|
|
|
enable:
|
|
|
|
- deadcode
|
2021-07-26 09:04:21 +00:00
|
|
|
- gofmt
|
2020-07-18 05:41:51 +00:00
|
|
|
- goimports
|
2021-07-26 09:04:21 +00:00
|
|
|
- golint
|
|
|
|
- govet
|
|
|
|
- importas
|
2020-07-18 05:41:51 +00:00
|
|
|
- ineffassign
|
2020-07-18 06:03:56 +00:00
|
|
|
- misspell
|
2020-07-18 21:52:44 +00:00
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
2021-07-26 09:04:21 +00:00
|
|
|
- typecheck
|
|
|
|
- unused
|
|
|
|
- varcheck
|
2020-07-18 16:11:39 +00:00
|
|
|
disable-all: true
|
|
|
|
|
2021-07-26 09:04:21 +00:00
|
|
|
linters-settings:
|
|
|
|
importas:
|
|
|
|
alias:
|
|
|
|
- pkg: "github.com/opencontainers/image-spec/specs-go/v1"
|
|
|
|
alias: "ocispecs"
|
2021-07-26 09:48:16 +00:00
|
|
|
- pkg: "github.com/opencontainers/go-digest"
|
|
|
|
alias: "digest"
|
2021-07-26 09:04:21 +00:00
|
|
|
no-unaliased: true
|
|
|
|
|
2020-07-18 16:11:39 +00:00
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- linters:
|
2020-11-22 17:10:34 +00:00
|
|
|
- golint
|
2020-10-05 03:30:50 +00:00
|
|
|
text: "stutters"
|