From e5e9a044ddc3e89e3446c5a2fc11c436e9268c71 Mon Sep 17 00:00:00 2001 From: phanirithvij Date: Sun, 9 Jun 2024 08:34:49 +0530 Subject: [PATCH] disable more warnings Signed-off-by: phanirithvij --- .golangci.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index f2a7744..d98836a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -24,13 +24,11 @@ linters: disable: - bodyclose - contextcheck - - deadcode - depguard - durationcheck - dupl - dupword - exhaustruct - - exhaustivestruct - forbidigo - gci - gochecknoglobals @@ -40,34 +38,27 @@ linters: - gocritic - gocyclo - godox - - goerr113 - - golint - gomnd + - err113 - gosec - gosimple - govet - - interfacer - - ifshort - inamedparam - interfacebloat - ireturn - lll - maintidx - - maligned - mnd - musttag - nilerr - noctx - nolintlint - - nosnakecase - paralleltest - perfsprint - revive - rowserrcheck - - scopelint - sqlclosecheck - staticcheck - - structcheck - stylecheck - tagliatelle - testpackage @@ -75,7 +66,6 @@ linters: - typecheck - unparam - unused - - varcheck - varnamelen - wastedassign - wrapcheck