From 6beb9f3c5df5d89c0de9de1578f9f48d980df985 Mon Sep 17 00:00:00 2001 From: Thibault Richard Date: Wed, 28 Aug 2024 17:31:43 +0200 Subject: [PATCH] Remove deprecated linters --- .golangci.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 381f964..9cf59a7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -22,7 +22,6 @@ linters: - cyclop - depguard - dupl - - exhaustivestruct - forbidigo - funlen - gci @@ -32,14 +31,11 @@ linters: - gocyclo - godot - godox - - goerr113 + - err113 - gofmt - gofumpt - - golint - gomnd - gomodguard - - interfacer - - maligned - nlreturn - paralleltest - rowserrcheck @@ -52,13 +48,12 @@ linters: enable: - asciicheck - bodyclose - - deadcode - dogsled - durationcheck - errcheck - errorlint - exhaustive - - exportloopref + - copyloopvar - forcetypeassert - gocritic - goheader @@ -80,14 +75,12 @@ linters: - predeclared - revive - staticcheck - - structcheck - thelper - tparallel - typecheck - unconvert - unparam - unused - - varcheck - wastedassign - whitespace