From 21f9f1eb24a0ebd7f666d241402b5dad257e0d7f Mon Sep 17 00:00:00 2001 From: GabrielePuliti <12409541+Wabri@users.noreply.github.com> Date: Fri, 14 Jun 2024 15:44:58 +0200 Subject: [PATCH] fix(golangci): solve warnings --- .golangci.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 5aaed94..2eb0d9b 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,6 +1,6 @@ linters-settings: govet: - check-shadowing: true + shadow: true golint: min-confidence: 0 maligned: @@ -16,7 +16,6 @@ linters: disable-all: true enable: - bodyclose - - deadcode - depguard - dogsled - dupl @@ -25,27 +24,24 @@ linters: - gocritic - gofmt - goimports - - golint + - revive - goprintffuncname - gosec - gosimple - govet - ineffassign - - interfacer - misspell - nolintlint - rowserrcheck - scopelint - staticcheck - - structcheck - stylecheck - typecheck - unconvert - unparam - unused - - varcheck - whitespace - - maligned + - exportloopref service: golangci-lint-version: 1.33.x