Add .golangci.yml

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier 2019-04-25 10:44:57 +02:00
parent f957060e63
commit 8dce9ac61f
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
/.release
/.tarballs
!.golangci.yml
!/cli/testdata/*.yml
!/cli/config/testdata/*.yml
!/doc/examples/simple.yml

8
.golangci.yml Normal file
View File

@ -0,0 +1,8 @@
run:
modules-download-mode: vendor
# Run only staticcheck for now. Additional linters will be enabled one-by-one.
linters:
enable:
- staticcheck
disable-all: true