From 9bd605946797c20acf6c7799d5c438086dd09d35 Mon Sep 17 00:00:00 2001 From: Alexander Menshchikov Date: Tue, 12 Nov 2024 09:11:38 +0300 Subject: [PATCH] fix linters errors --- closer/closer.go | 2 +- ctxkey/.golangci.yml | 5 ----- time/.golangci.yml | 5 ----- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/closer/closer.go b/closer/closer.go index 8079255..2dfcd3f 100644 --- a/closer/closer.go +++ b/closer/closer.go @@ -78,7 +78,7 @@ func New(ctx context.Context, signals ...os.Signal) *closer { } <-ctx.Done() - c.CloseAll() + c.CloseAll() //nolint:contextcheck }() return c diff --git a/ctxkey/.golangci.yml b/ctxkey/.golangci.yml index baf80ed..afcedb6 100644 --- a/ctxkey/.golangci.yml +++ b/ctxkey/.golangci.yml @@ -165,11 +165,6 @@ linters-settings: - sliceClear - stringXbytes - gofmt: - rewrite-rules: - - pattern: 'interface{}' - replacement: 'any' - gosec: excludes: # _ instead of err checks diff --git a/time/.golangci.yml b/time/.golangci.yml index baf80ed..afcedb6 100644 --- a/time/.golangci.yml +++ b/time/.golangci.yml @@ -165,11 +165,6 @@ linters-settings: - sliceClear - stringXbytes - gofmt: - rewrite-rules: - - pattern: 'interface{}' - replacement: 'any' - gosec: excludes: # _ instead of err checks