diff --git a/.golangci.yml b/.golangci.yml index 02a09bc..24fc177 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -34,7 +34,6 @@ linters: - gosec - lll - makezero - - maligned - misspell - nestif - prealloc diff --git a/v1/errors.go b/v1/errors.go index 2f7dd3e..8179505 100644 --- a/v1/errors.go +++ b/v1/errors.go @@ -88,7 +88,7 @@ func AsClientError(err error) *HTTPClientError { if err == nil { return nil } - if typed, ok := err.(*HTTPClientError); ok { + if typed, ok := err.(*HTTPClientError); ok { //nolint:errorlint return typed } err = errors.Unwrap(err)