diff options
author | S7evinK <tfaelligen@gmail.com> | 2021-08-17 11:39:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 10:39:09 +0100 |
commit | 8a4b90b7dd3b5e2b25dc79679f2ef7c10485ebb0 (patch) | |
tree | 4514e8035e4987754ed4cda584379ab95509e159 /build/scripts | |
parent | c2b9ab7470627d49c986472cb9131ea2f33e3366 (diff) |
Update golangci-lint (#1978)
* Update golangci-lint
* Use unconditional strings.TrimSuffix
* Add error checks
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
* Disable lint typecheck
* Fix ineffectual error assignment (#1976)
Was working on another PR and noticed that golangci-lint was failing
locally on `ineffassign`
Signed-off-by: Devon Mizelle <dev@devon.so>
* Revert "Disable lint typecheck"
This reverts commit 3c76f219d3cb43e4ee9a9c319abd0b8879972cfc.
Co-authored-by: Devon Mizelle <dev@devon.so>
Diffstat (limited to 'build/scripts')
-rwxr-xr-x | build/scripts/find-lint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scripts/find-lint.sh b/build/scripts/find-lint.sh index 4ab5e4de..af87e14d 100755 --- a/build/scripts/find-lint.sh +++ b/build/scripts/find-lint.sh @@ -25,7 +25,7 @@ echo "Installing golangci-lint..." # Make a backup of go.{mod,sum} first cp go.mod go.mod.bak && cp go.sum go.sum.bak -go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.19.1 +go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.41.1 # Run linting echo "Looking for lint..." |