From 7ed991abf82bd0a6caeed0b3dc338e54986e7296 Mon Sep 17 00:00:00 2001 From: Russell Centanni Date: Tue, 14 May 2024 10:46:45 -0400 Subject: [PATCH] chore: update golangci-lint configuration to remove deprecated linters Signed-off-by: Russell Centanni --- .golangci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index c60853305d..2f0352fccd 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,19 +1,21 @@ run: timeout: 10m - skip-dirs: + +issues: + exclude-dirs: - hack/ - docs/ linters: disable-all: true enable: - - deadcode + # - deadcode # deprecated https://github.com/golangci/golangci-lint/issues/1841 - gosimple - govet - ineffassign - misspell - unused - - varcheck + # - varcheck # deprecated https://github.com/golangci/golangci-lint/issues/1841 - staticcheck - errcheck # - goimports @@ -22,7 +24,7 @@ linters: - stylecheck # - gofmt # - golint - # - structcheck + # - structcheck # deprecated https://github.com/golangci/golangci-lint/issues/1841 linters-settings: gofmt: