Skip to content

Commit

Permalink
hack: Bump golang-ci-lint to v1.53.3
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
anoopcs9 authored and mergify[bot] committed Aug 23, 2023
1 parent d28e94b commit d448034
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ linters:
enable:
- asciicheck
# - deadcode
- depguard
- dupl
- errcheck
- exhaustive
Expand Down Expand Up @@ -37,7 +36,6 @@ linters:
- unconvert
# - unparam
- unused
- varcheck
- whitespace
linters-settings:
funlen:
Expand Down
2 changes: 1 addition & 1 deletion hack/install-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ _install_revive() {
}

_install_golangci_lint() {
_install_tool github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46.2
_install_tool github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3
}

_install_yq() {
Expand Down

0 comments on commit d448034

Please sign in to comment.