From 0f1b81f2af4b9909d8d601700cf4919df79a95cc Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Mon, 13 May 2024 21:23:49 +0000 Subject: [PATCH] Update golangci-lint to stop using deprecated skip files/dirs Signed-off-by: Brad Davidson (cherry picked from commit 2eca3f1e2c0d5330e00b03ae197402604f1e0348) Signed-off-by: Brad Davidson --- .golangci.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.golangci.json b/.golangci.json index 88ab8ef6d9..28a4b5daf0 100644 --- a/.golangci.json +++ b/.golangci.json @@ -10,7 +10,10 @@ ] }, "run": { - "skip-dirs": [ + "deadline": "5m" + }, + "issues": { + "exclude-dirs": [ "build", "contrib", "manifests", @@ -18,12 +21,9 @@ "scripts", "vendor" ], - "skip-files": [ + "exclude-files": [ "/zz_generated_" ], - "deadline": "5m" - }, - "issues": { "exclude-rules": [ { "linters": "typecheck", @@ -43,4 +43,4 @@ } ] } -} \ No newline at end of file +}