From 4260397a7da8186d5a18b4ec1a55129e433120fa Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 13 Aug 2024 13:54:50 -0400 Subject: [PATCH] .golangci.yml: switch deprecated skip-dirs to exclude-dirs golangci-lint 1.59.1 reports: WARN [config_reader] The configuration option `run.skip-dirs` is deprecated, please use `issues.exclude-dirs`. --- .golangci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 0492ce36..d36ad7d8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,6 +7,8 @@ issues: - gocyclo - dupl - gosec + exclude-dirs: + - (^|/)mock($|/) linters-settings: errcheck: @@ -31,8 +33,6 @@ linters-settings: run: skip-dirs-use-default: true - skip-dirs: - - (^|/)mock($|/) timeout: 3m linters: