mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
750317a2f7
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 269405107f)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
47 lines
736 B
YAML
47 lines
736 B
YAML
version: "2"
|
|
|
|
linters:
|
|
enable:
|
|
- bodyclose
|
|
- dupl
|
|
- durationcheck
|
|
- errcheck
|
|
- errorlint
|
|
- exhaustive
|
|
- gosec
|
|
- govet
|
|
- misspell
|
|
- nilerr
|
|
- prealloc
|
|
- rowserrcheck
|
|
- sqlclosecheck
|
|
- staticcheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- whitespace
|
|
disable:
|
|
- musttag
|
|
- noctx
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
settings:
|
|
exhaustive:
|
|
default-signifies-exhaustive: true
|
|
gosec:
|
|
excludes:
|
|
# https://github.com/securego/gosec/issues/1185
|
|
- G115
|
|
|
|
formatters:
|
|
enable:
|
|
- gofmt
|
|
- goimports
|
|
exclusions:
|
|
generated: lax
|