Add nolint for dxcore

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2023-08-28 11:08:36 +02:00
parent 7f610d19ed
commit d8d56e18f9

View File

@ -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