Skip to content

Commit 64df217

Browse files
committed
golangci: disable funlen
1 parent 5516a1f commit 64df217

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Diff for: .golangci.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ linters:
2525
- exhaustive
2626
- exhaustivestruct
2727
- exhaustruct
28+
- funlen
2829
- gochecknoglobals
2930
- gochecknoinits
3031
- godox
@@ -51,9 +52,6 @@ linters:
5152
linters-settings:
5253
errcheck:
5354
check-blank: true
54-
funlen:
55-
lines: 160
56-
statements: 75
5755
gocognit:
5856
min-complexity: 50
5957
gocyclo:
@@ -78,10 +76,7 @@ issues:
7876
- "Error return value of `cmd.MarkFlag.+` is not checked"
7977
- "Error return value of `net.SplitHostPort` is not checked"
8078
- "Error return value of `w.Write` is not checked"
81-
- "Function 'handle' has too many statements"
8279
- "Limiter.WaitN` is not checked"
83-
- "Function 'runE' has too many statements"
84-
- "Function 'runE' is too long"
8580
- "Temporary has been deprecated since Go 1.18 because it shouldn't be used"
8681
- "`nop.+` is unused"
8782
- "can be `expvar.Var`"

0 commit comments

Comments
 (0)