Skip to content

Commit

Permalink
Update .golangci.yml (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Nov 5, 2022
1 parent 8fd87b8 commit 025c751
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
linters-settings:
funlen:
lines: 100
statements: 50
gocyclo:
min-complexity: 15
goimports:
Expand All @@ -18,7 +21,9 @@ linters-settings:
linters:
disable-all: true
enable:
- bodyclose
- dogsled
- dupl
- errcheck
- exportloopref
- funlen
Expand All @@ -36,6 +41,8 @@ linters:
- govet
- ineffassign
- misspell
- nakedret
- noctx
- nolintlint
- staticcheck
- stylecheck
Expand Down

0 comments on commit 025c751

Please sign in to comment.