mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 02:05:41 +01:00
fix: enable structcheck/typecheck/unused for golangci-lint (#17047)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
This commit is contained in:
parent
44bfb992f4
commit
8b9f6069db
@ -12,7 +12,7 @@ linters:
|
||||
- gofmt
|
||||
- goheader
|
||||
- misspell
|
||||
# - typecheck
|
||||
- typecheck
|
||||
# - dogsled
|
||||
# - dupl
|
||||
# - depguard
|
||||
@ -36,11 +36,11 @@ linters:
|
||||
# - noctx
|
||||
# - rowserrcheck
|
||||
# - staticcheck
|
||||
# - structcheck
|
||||
- structcheck
|
||||
# - stylecheck
|
||||
# - unconvert
|
||||
# - unparam
|
||||
# - unused
|
||||
- unused
|
||||
- varcheck
|
||||
|
||||
run:
|
||||
|
Loading…
Reference in New Issue
Block a user