From 4f411c45951b413e2a879fac7e79e11d2341ed71 Mon Sep 17 00:00:00 2001 From: Akshay Shah Date: Sun, 8 Oct 2023 07:43:37 -0700 Subject: [PATCH] Disable nonamedreturn linter (#602) --- .golangci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.golangci.yml b/.golangci.yml index 1ec58305..0ad344b1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -50,6 +50,7 @@ linters: - maintidx # covered by gocyclo - maligned # readability trumps efficient struct packing - nlreturn # generous whitespace violates house style + - nonamedreturns # named returns are fine; it's *bare* returns that are bad - nosnakecase # deprecated in https://github.com/golangci/golangci-lint/pull/3065 - scopelint # deprecated by author - structcheck # abandoned