Skip to content

Commit 2ff615e

Browse files
committed
fix funlen lines threshold
lines: 0 falls back to the default 60-line cap in golangci-lint v2.12; -1 is the disable value. Intent is a statements-only limit.
1 parent 72170fe commit 2ff615e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.golangci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ linters:
3838
line-length: 120
3939
tab-width: 2
4040
funlen:
41-
lines: 0
41+
lines: -1
4242
ignore-comments: true
4343
statements: 50
4444
gocognit:

0 commit comments

Comments
 (0)