mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
49dbae5c32
Signed-off-by: Evan Lezar <elezar@nvidia.com>
30 lines
569 B
YAML
30 lines
569 B
YAML
run:
|
|
deadline: 10m
|
|
|
|
linters:
|
|
enable:
|
|
- contextcheck
|
|
- gocritic
|
|
- gofmt
|
|
- goimports
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- staticcheck
|
|
- unconvert
|
|
|
|
issues:
|
|
exclude-rules:
|
|
# Exclude the gocritic dupSubExpr issue for cgo files.
|
|
- path: internal/dxcore/dxcore.go
|
|
linters:
|
|
- gocritic
|
|
text: dupSubExpr
|
|
# Exclude the checks for usage of returns to config.Delete(Path) in the crio and containerd config packages.
|
|
- path: pkg/config/engine/
|
|
linters:
|
|
- errcheck
|
|
text: config.Delete
|