From 326a9b60c1d1654042ec71b8a43cd4d00bbc93f5 Mon Sep 17 00:00:00 2001 From: andrey Date: Tue, 2 Jan 2024 16:19:33 +0300 Subject: [PATCH] remove nolintlint --- .golangci.yml | 1 + field/value.go | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 1491609..6bad831 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -52,6 +52,7 @@ linters: - maligned - depguard # need configure + - nolintlint # use with space issues: # Excluding configuration per-path, per-linter, per-text and per-source diff --git a/field/value.go b/field/value.go index 7681786..6ff09f8 100644 --- a/field/value.go +++ b/field/value.go @@ -1,4 +1,4 @@ -//nolint: exhaustruct +// nolint: exhaustruct package field import ( @@ -504,7 +504,7 @@ func (v Value) append(dst []byte) []byte { } } -//nolint: gocyclo,cyclop +// nolint: gocyclo,cyclop func (v Value) Any() any { switch v.Kind { case KindAny, KindBinary: @@ -542,7 +542,7 @@ func (v Value) Any() any { return v.any } -//nolint: forcetypeassert +// nolint: forcetypeassert func (v Value) AsString() string { if v.Kind != KindString { return ""