forked from buildpacks/pack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a Makefile target to run linters
Signed-off-by: David Gageot <david@gageot.net>
- Loading branch information
Showing
5 changed files
with
447 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
run: | ||
deadline: 6m | ||
modules-download-mode: vendor | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- bodyclose | ||
- deadcode | ||
- gocritic | ||
- goimports | ||
- golint | ||
- gosimple | ||
- govet | ||
- ineffassign | ||
- maligned | ||
- misspell | ||
- staticcheck | ||
- structcheck | ||
- stylecheck | ||
- typecheck | ||
- unconvert | ||
- unused | ||
- varcheck | ||
- scopelint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
module github.com/buildpack/pack/tools | ||
|
||
go 1.13 | ||
|
||
require ( | ||
github.com/OpenPeeDeeP/depguard v1.0.1 // indirect | ||
github.com/fatih/color v1.7.0 // indirect | ||
github.com/go-critic/go-critic v0.3.5-0.20190904082202-d79a9f0c64db // indirect | ||
github.com/gogo/protobuf v1.3.0 // indirect | ||
github.com/golang/mock v1.3.1 | ||
github.com/golang/protobuf v1.3.2 // indirect | ||
github.com/golangci/gocyclo v0.0.0-20180528144436-0a533e8fa43d // indirect | ||
github.com/golangci/golangci-lint v1.18.0 | ||
github.com/golangci/revgrep v0.0.0-20180812185044-276a5c0a1039 // indirect | ||
github.com/google/go-cmp v0.3.1 // indirect | ||
github.com/gostaticanalysis/analysisutil v0.0.3 // indirect | ||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect | ||
github.com/magiconair/properties v1.8.1 // indirect | ||
github.com/mattn/go-colorable v0.1.2 // indirect | ||
github.com/mattn/go-isatty v0.0.9 // indirect | ||
github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d // indirect | ||
github.com/onsi/ginkgo v1.10.1 // indirect | ||
github.com/onsi/gomega v1.7.0 // indirect | ||
github.com/pelletier/go-toml v1.4.0 // indirect | ||
github.com/shurcooL/go v0.0.0-20190704215121-7189cc372560 // indirect | ||
github.com/sirupsen/logrus v1.4.2 // indirect | ||
github.com/spf13/afero v1.2.2 // indirect | ||
github.com/spf13/cobra v0.0.5 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/spf13/viper v1.4.0 // indirect | ||
github.com/stretchr/testify v1.4.0 // indirect | ||
github.com/timakin/bodyclose v0.0.0-20190926151346-866fdb772e33 // indirect | ||
github.com/ultraware/funlen v0.0.2 // indirect | ||
golang.org/x/net v0.0.0-20190926025831-c00fd9afed17 // indirect | ||
golang.org/x/sys v0.0.0-20190927073244-c990c680b611 // indirect | ||
golang.org/x/text v0.3.2 // indirect | ||
golang.org/x/tools v0.0.0-20190929041059-e7abfedfabcf | ||
mvdan.cc/unparam v0.0.0-20190917161559-b83a221c10a2 // indirect | ||
sourcegraph.com/sqs/pbtypes v1.0.0 // indirect | ||
) |
Oops, something went wrong.