Skip to content

Commit

Permalink
Disable nonamedreturn linter
Browse files Browse the repository at this point in the history
We've disabled this linter in other projects, so let's stay as
consistent as we can.
  • Loading branch information
akshayjshah committed Oct 7, 2023
1 parent 57f56b8 commit 1f37e3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f37e3c

Please sign in to comment.