Skip to content

Commit

Permalink
chore: increase dupl threashold because of false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
choffmann committed Feb 23, 2025
1 parent e48b194 commit a5e4966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ linters-settings:
- pkg: "github.com/sirupsen/logrus"
desc: logging is allowed only by logutils.Log
dupl:
threshold: 100
threshold: 150
funlen:
lines: -1 # the number of lines (code + empty lines) is not a right metric and leads to code without empty line or one-liner.
statements: 50
Expand Down

0 comments on commit a5e4966

Please sign in to comment.