Skip to content

Commit 060d2f2

Browse files
committed
hack: Bump golang-ci-lint to v1.53.3
* Removes already deprecated[1] linter varcheck * Depguard now expects a list of allow/deny list and default rule is to allow only std lib in all files[2]. Therefore disable the linter. [1] https://golangci-lint.run/product/roadmap/#v1490 [2] golangci/golangci-lint#3877 (comment) Signed-off-by: Anoop C S <[email protected]>
1 parent e5c33e7 commit 060d2f2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.golangci.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ linters:
66
enable:
77
- asciicheck
88
# - deadcode
9-
- depguard
109
- dupl
1110
- errcheck
1211
- exhaustive
@@ -37,7 +36,6 @@ linters:
3736
- unconvert
3837
# - unparam
3938
- unused
40-
- varcheck
4139
- whitespace
4240
linters-settings:
4341
funlen:

hack/install-tools.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ _install_revive() {
4444
}
4545

4646
_install_golangci_lint() {
47-
_install_tool github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46.2
47+
_install_tool github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3
4848
}
4949

5050
_install_yq() {

0 commit comments

Comments
 (0)