Skip to content

Commit

Permalink
fix golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Nov 8, 2024
1 parent 552ecb8 commit b41305e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ linters:
- varnamelen
- tagliatelle
- wrapcheck
- typecheck
errcheck:
exclude-functions:
- fmt:.*
- io/ioutil:^Read.*
- github.com/spf13/cobra:MarkFlagRequired
- github.com/spf13/viper:BindPFlag
linters-settings:
gocyclo:
min-complexity: 11
errcheck:
ignore: fmt:.*,io/ioutil:^Read.*,github.com/spf13/cobra:MarkFlagRequired,github.com/spf13/viper:BindPFlag
golint:
min-confidence: 1.1
issues:
Expand Down

0 comments on commit b41305e

Please sign in to comment.