mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
a638f1330b
The errrolint linter can finally ignore errors from Close, and it also ignores direct comparisons of errors from x/sys/unix. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
19 lines
259 B
YAML
19 lines
259 B
YAML
# For documentation, see https://golangci-lint.run/usage/configuration/
|
|
|
|
run:
|
|
build-tags:
|
|
- seccomp
|
|
|
|
linters:
|
|
enable:
|
|
- gofumpt
|
|
- errorlint
|
|
- nolintlint
|
|
- unconvert
|
|
- unparam
|
|
|
|
linters-settings:
|
|
govet:
|
|
enable:
|
|
- nilness
|