Add .golangci.yml
authorSimon Pasquier <spasquie@redhat.com>
Thu, 25 Apr 2019 08:46:09 +0000 (10:46 +0200)
committerSimon Pasquier <spasquie@redhat.com>
Thu, 25 Apr 2019 08:46:09 +0000 (10:46 +0200)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
.golangci.yml [new file with mode: 0644]

diff --git a/.golangci.yml b/.golangci.yml
new file mode 100644 (file)
index 0000000..fd975b2
--- /dev/null
@@ -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