Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nextzhou committed Jan 7, 2024
1 parent 9892106 commit 5f92993
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
linters:
enable:
- deadcode
- unused
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- asciicheck
- bodyclose
- cyclop
Expand Down Expand Up @@ -42,7 +40,6 @@ linters:
- gomodguard
- goprintffuncname
- gosec
- ifshort
- importas
- lll
- makezero
Expand All @@ -66,4 +63,19 @@ linters:
- unparam
- wastedassign
- whitespace
- wrapcheck
- wrapcheck

linters-settings:
depguard:
rules:
main:
allow:
- $gostd
- github.com/nextzhou/workpool
- github.com/smartystreets/goconvey

issues:
exclude-rules:
- path: _test\.go
linters:
- revive

0 comments on commit 5f92993

Please sign in to comment.