mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -04:00
lint: enable nakedret (#7569)
Replace naked returns with explicit return values to satisfy nakedret linter and improve readability. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
This commit is contained in:
@@ -13,6 +13,7 @@ linters:
|
||||
- govet
|
||||
- ineffassign
|
||||
- intrange
|
||||
- nakedret
|
||||
- nolintlint
|
||||
- prealloc
|
||||
- protogetter
|
||||
|
||||
Reference in New Issue
Block a user