mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 21:39:10 +00:00
Add nolint for dxcore
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
7f610d19ed
commit
d8d56e18f9
@ -14,3 +14,11 @@ linters:
|
|||||||
- misspell
|
- misspell
|
||||||
- staticcheck
|
- staticcheck
|
||||||
- unconvert
|
- unconvert
|
||||||
|
|
||||||
|
issues:
|
||||||
|
exclude-rules:
|
||||||
|
# Exclude the gocritic dupSubExpr issue for cgo files.
|
||||||
|
- path: internal/dxcore/dxcore.go
|
||||||
|
linters:
|
||||||
|
- gocritic
|
||||||
|
text: dupSubExpr
|
||||||
|
Loading…
Reference in New Issue
Block a user