Added errorlint to devtools

This commit is contained in:
Mike Farah 2021-11-24 09:27:17 +11:00
parent 8711042c98
commit 7f629d5e36
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ package yqlib
import (
"container/list"
"errors"
"errors"
"io"
"os"

View File

@ -1,5 +1,6 @@
#!/bin/sh
set -ex
go get golang.org/x/tools/cmd/goimports
go install golang.org/x/tools/cmd/goimports
go install github.com/polyfloyd/go-errorlint
wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.37.1
wget -O- -nv https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s v2.9.1