47 lines
749 B
YAML
47 lines
749 B
YAML
run:
|
|
timeout: 10m
|
|
skip-files:
|
|
- ".*\\.pb\\.go$"
|
|
|
|
modules-download-mode: vendor
|
|
|
|
build-tags:
|
|
- dfrunsecurity
|
|
- dfheredoc
|
|
|
|
linters:
|
|
enable:
|
|
- deadcode
|
|
- gofmt
|
|
- goimports
|
|
- revive
|
|
- govet
|
|
- importas
|
|
- ineffassign
|
|
- misspell
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
- bodyclose
|
|
- errname
|
|
- makezero
|
|
- whitespace
|
|
disable-all: true
|
|
|
|
linters-settings:
|
|
importas:
|
|
alias:
|
|
- pkg: "github.com/opencontainers/image-spec/specs-go/v1"
|
|
alias: "ocispecs"
|
|
- pkg: "github.com/opencontainers/go-digest"
|
|
alias: "digest"
|
|
no-unaliased: true
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- linters:
|
|
- revive
|
|
text: "stutters"
|