From 71d7908656ab3d4d0999578b3367025d1acc1f77 Mon Sep 17 00:00:00 2001 From: Jeyanthinath Muthuram Date: Mon, 8 May 2023 19:03:44 +0530 Subject: [PATCH] added alias validation Signed-off-by: Jeyanthinath Muthuram --- hack/validate/golangci-lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/validate/golangci-lint.yml b/hack/validate/golangci-lint.yml index 618fd60cf3..ab18806850 100644 --- a/hack/validate/golangci-lint.yml +++ b/hack/validate/golangci-lint.yml @@ -34,6 +34,8 @@ linters-settings: # own errdefs package (or vice-versa). - pkg: github.com/containerd/containerd/errdefs alias: cerrdefs + - pkg: github.com/opencontainers/image-spec/specs-go/v1 + alias: ocispec govet: check-shadowing: false