Skip to content

Commit f498758

Browse files
committed
[no-relnote] Ignore integer overflow in golangci-lint
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent ff2ba2b commit f498758

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ issues:
2323
exclude:
2424
# The legacy hook relies on spec.Hooks.Prestart, which is deprecated as of the v1.2.0 OCI runtime spec.
2525
- "SA1019:(.+).Prestart is deprecated(.+)"
26+
# TODO: We should address each of the following integer overflows.
27+
- "G115: integer overflow conversion(.+)"
2628
exclude-rules:
2729
# Exclude the gocritic dupSubExpr issue for cgo files.
2830
- path: internal/dxcore/dxcore.go

0 commit comments

Comments
 (0)