Skip to content

Commit f60ef2f

Browse files
committed
Replace deprecated linters
Signed-off-by: RainbowMango <[email protected]>
1 parent 029dfa4 commit f60ef2f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.golangci.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
run:
2-
deadline: 2m
2+
timeout: 10m
33

44
linters:
55
disable-all: true
@@ -8,7 +8,7 @@ linters:
88
- dogsled
99
- dupl
1010
- errcheck
11-
- exportloopref
11+
- copyloopvar
1212
- exhaustive
1313
- gocritic
1414
- gocyclo
@@ -22,7 +22,6 @@ linters:
2222
- nakedret
2323
- nolintlint
2424
- staticcheck
25-
- typecheck
2625
- unconvert
2726
- unused
2827
- whitespace

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ALL_BINARIES_PLATFORMS= $(addprefix linux/,$(ALL_ARCHITECTURES)) \
3030

3131
# Tools versions
3232
# --------------
33-
GOLANGCI_VERSION:=1.61.0
33+
GOLANGCI_VERSION:=1.64.8
3434

3535
# Computed variables
3636
# ------------------
@@ -241,7 +241,7 @@ endif
241241

242242
.PHONY: verify-lint
243243
verify-lint: golangci
244-
$(GOPATH)/bin/golangci-lint run --timeout 10m || (echo 'Run "make update"' && exit 1)
244+
$(GOPATH)/bin/golangci-lint run || (echo 'Run "make update"' && exit 1)
245245

246246
.PHONY: update-lint
247247
update-lint: golangci

0 commit comments

Comments
 (0)