Add .golangci.yml
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
f957060e63
commit
8dce9ac61f
|
@ -7,6 +7,7 @@
|
|||
/.release
|
||||
/.tarballs
|
||||
|
||||
!.golangci.yml
|
||||
!/cli/testdata/*.yml
|
||||
!/cli/config/testdata/*.yml
|
||||
!/doc/examples/simple.yml
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue