Merge pull request #4992 from RainbowMango/pr_enable_deprecation_check
Enable deprecation check and bump golangci-lint to v1.59.0
This commit is contained in:
commit
c4ee8dbf78
|
@ -82,10 +82,6 @@ linters-settings:
|
||||||
- name: unexported-return
|
- name: unexported-return
|
||||||
- name: time-naming
|
- name: time-naming
|
||||||
- name: empty-block
|
- name: empty-block
|
||||||
staticcheck:
|
|
||||||
checks:
|
|
||||||
- all
|
|
||||||
- '-SA1019' # disable deprecation check. Tracked by https://github.com/karmada-io/karmada/issues/3835.
|
|
||||||
|
|
||||||
issues:
|
issues:
|
||||||
# The list of ids of default excludes to include or disable. By default it's empty.
|
# The list of ids of default excludes to include or disable. By default it's empty.
|
||||||
|
|
|
@ -19,7 +19,7 @@ set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
||||||
GOLANGCI_LINT_VER="v1.58.0"
|
GOLANGCI_LINT_VER="v1.59.0"
|
||||||
|
|
||||||
cd "${REPO_ROOT}"
|
cd "${REPO_ROOT}"
|
||||||
source "hack/util.sh"
|
source "hack/util.sh"
|
||||||
|
|
Loading…
Reference in New Issue