From a7eceab417c4b3b7321326cd598fc0f908a7648f Mon Sep 17 00:00:00 2001 From: Zbynek Roubalik Date: Mon, 5 Aug 2024 15:20:12 +0200 Subject: [PATCH] chore: golangci-lint: `run.skip-dirs` is deprecated (#6036) Signed-off-by: Zbynek Roubalik --- .golangci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index fcfacf552c5..d23883526de 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,9 +7,6 @@ run: - e2e # timeout for analysis, e.g. 30s, 5m, default is 1m timeout: 10m - # skip vendor directory - skip-dirs: - - vendor modules-download-mode: vendor linters: # please, do not use `enable-all`: it's deprecated and will be removed soon. @@ -49,6 +46,9 @@ linters: issues: include: - EXC0002 # disable excluding of issues about comments from golint + exclude-dirs: + # skip vendor directory + - vendor # Excluding configuration per-path, per-linter, per-text and per-source exclude-rules: - path: _test\.go