mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +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
|
- revive
|
||||||
- whitespace
|
- whitespace
|
||||||
- bodyclose
|
- bodyclose
|
||||||
# - deadcode //deprecated since golangci-lint v1.49.0
|
|
||||||
- errcheck
|
- errcheck
|
||||||
# - gosec
|
# - gosec
|
||||||
- gosimple
|
- gosimple
|
||||||
@ -43,12 +42,10 @@ linters:
|
|||||||
# - noctx
|
# - noctx
|
||||||
# - rowserrcheck
|
# - rowserrcheck
|
||||||
- staticcheck
|
- staticcheck
|
||||||
# - structcheck //deprecated since golangci-lint v1.49.0
|
|
||||||
- stylecheck
|
- stylecheck
|
||||||
# - unconvert
|
# - unconvert
|
||||||
# - unparam
|
# - unparam
|
||||||
# - unused // disabled due to too many false positive check and limited support golang 1.19 https://github.com/dominikh/go-tools/issues/1282
|
# - 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:
|
run:
|
||||||
skip-files:
|
skip-files:
|
||||||
|
Loading…
Reference in New Issue
Block a user