diff --git a/cli/.golangci.yml b/cli/.golangci.yml index a6e48004a9a3f..b7a7f5b72672f 100644 --- a/cli/.golangci.yml +++ b/cli/.golangci.yml @@ -13,6 +13,12 @@ linters: - govet - staticcheck - revive + - nakedret + +linters-settings: + nakedret: + # Aggressively disallow naked returns + max-func-lines: 3 issues: exclude-use-default: false