mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
chore: clean up no longer support linters for golang-lint (#18165)
Clean up no longer support linters for golang-lint Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
This commit is contained in:
parent
a4c95fa030
commit
2f04d4f810
@ -34,7 +34,6 @@ linters:
|
||||
- revive
|
||||
- whitespace
|
||||
- bodyclose
|
||||
# - deadcode //deprecated since golangci-lint v1.49.0
|
||||
- errcheck
|
||||
# - gosec
|
||||
- gosimple
|
||||
@ -43,12 +42,10 @@ linters:
|
||||
# - noctx
|
||||
# - rowserrcheck
|
||||
- staticcheck
|
||||
# - structcheck //deprecated since golangci-lint v1.49.0
|
||||
- stylecheck
|
||||
# - unconvert
|
||||
# - unparam
|
||||
# - unused // disabled due to too many false positive check and limited support golang 1.19 https://github.com/dominikh/go-tools/issues/1282
|
||||
# - varcheck //deprecated since golangci-lint v1.49.0
|
||||
|
||||
run:
|
||||
skip-files:
|
||||
|
Loading…
Reference in New Issue
Block a user