Skip to content

Commit 99a004c

Browse files
Update golangci-lint to v1.17.1 (#7848)
1 parent 2f2a4cb commit 99a004c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.golangci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,6 @@ issues:
9595
linters:
9696
- misspell
9797
text: '`Destory` is a misspelling of `Destroy`'
98+
- linters:
99+
- misspell
100+
text: '`Unknwon` is a misspelling of `Unknown`'

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,6 @@ pr:
473473
golangci-lint:
474474
@hash golangci-lint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
475475
export BINARY="golangci-lint"; \
476-
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.16.0; \
476+
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.17.1; \
477477
fi
478-
golangci-lint run
478+
golangci-lint run --deadline=3m

0 commit comments

Comments
 (0)