Skip to content

Commit 74379c7

Browse files
committed
Do not allow nakedret
1 parent 0e2d0d0 commit 74379c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ linters-settings:
4040
stylecheck:
4141
checks: ["all", "-ST1005", "-ST1003"]
4242
nakedret:
43-
max-func-lines: 5
43+
max-func-lines: 0
4444
gocritic:
4545
disabled-checks:
4646
- ifElseChain

0 commit comments

Comments
 (0)