From 9c04409fdba2219c216b2d14a3f1dd65d4dcdd74 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 9 May 2023 17:57:28 +0200 Subject: [PATCH] [release/2.8] ignore deprecation of io/ioutil Signed-off-by: Sebastiaan van Stijn --- .golangci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 1ba6cb916..36c083b0f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,3 +18,10 @@ run: deadline: 2m skip-dirs: - vendor + +issues: + exclude-rules: + # io/ioutil is deprecated, but won't be removed until Go v2. It's safe to ignore for the release/2.8 branch. + - text: "SA1019: \"io/ioutil\" has been deprecated since Go 1.16" + linters: + - staticcheck