From 72de4f47dce78fa0541c382e2980807b118b3520 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Mon, 2 Sep 2024 10:09:59 -0400 Subject: [PATCH] chore(lint): update mnd name, remove deprecated directives Linter output for this change: * The linter "deadcode" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle * The linter "structcheck" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle * The linter "varcheck" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle * The linter 'gomnd' is deprecated (since v1.58.0) due to: The linter has been renamed. Replaced by mnd. --- .golangci-soft.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.golangci-soft.yml b/.golangci-soft.yml index 0170561..d11d36b 100644 --- a/.golangci-soft.yml +++ b/.golangci-soft.yml @@ -20,7 +20,7 @@ linters: - goconst - godot - godox - - gomnd + - mnd - gomoddirectives - goprintffuncname # - lll @@ -34,14 +34,11 @@ linters: # disable default linters, they are already enabled in .golangci.yml disable: - - deadcode - errcheck - gosimple - govet - ineffassign - staticcheck - - structcheck - typecheck - unused - - varcheck - predeclared