Skip to content

Commit

Permalink
update golangci-lint (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored Jul 24, 2023
1 parent 3dbe156 commit 0293ddf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
version: v1.53.3

go-mod-tidy:
runs-on: ubuntu-20.04
Expand Down
4 changes: 3 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ linters:
- gocritic
- gofmt
- gofumpt
- misspell
- lll
- misspell
- nilerr
- prealloc
- revive
- unconvert
- wastedassign
- whitespace
disable:
- errcheck
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BASE_IMAGE = golang:1.20.1-alpine3.17
LINT_IMAGE = golangci/golangci-lint:v1.52.2
LINT_IMAGE = golangci/golangci-lint:v1.53.3

.PHONY: $(shell ls)

Expand Down
2 changes: 1 addition & 1 deletion pkg/autoreconnector/autoreconnector.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (a *autoreconnector) Write(p []byte) (int, error) {

n, err := curConn.Write(p)
if err == nil {
return n, err
return n, nil
}

reset = true
Expand Down

0 comments on commit 0293ddf

Please sign in to comment.