Skip to content

Commit

Permalink
golangci: disable funlen
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatczuk committed Oct 17, 2023
1 parent 5516a1f commit 64df217
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ linters:
- exhaustive
- exhaustivestruct
- exhaustruct
- funlen
- gochecknoglobals
- gochecknoinits
- godox
Expand All @@ -51,9 +52,6 @@ linters:
linters-settings:
errcheck:
check-blank: true
funlen:
lines: 160
statements: 75
gocognit:
min-complexity: 50
gocyclo:
Expand All @@ -78,10 +76,7 @@ issues:
- "Error return value of `cmd.MarkFlag.+` is not checked"
- "Error return value of `net.SplitHostPort` is not checked"
- "Error return value of `w.Write` is not checked"
- "Function 'handle' has too many statements"
- "Limiter.WaitN` is not checked"
- "Function 'runE' has too many statements"
- "Function 'runE' is too long"
- "Temporary has been deprecated since Go 1.18 because it shouldn't be used"
- "`nop.+` is unused"
- "can be `expvar.Var`"
Expand Down

0 comments on commit 64df217

Please sign in to comment.