From 47de5118f2bc88d0f74e183639ca9ba01462d298 Mon Sep 17 00:00:00 2001 From: Joshua Casey Date: Fri, 10 May 2024 09:05:17 -0500 Subject: [PATCH] Remove deprecated .golangci.yaml options --- .golangci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 19eab2991..4aa0ac499 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,8 +1,6 @@ -# https://github.com/golangci/golangci-lint#config-file +# https://golangci-lint.run/usage/configuration/ run: - deadline: 1m - skip-dirs: - - generated + timeout: 1m linters: disable-all: true @@ -52,6 +50,8 @@ linters: - spancheck issues: + exclude-dirs: + - generated exclude-rules: # exclude tests from some rules for things that are useful in a testing context. - path: _test\.go