From 8dce9ac61fa2953daf74644c3755cc9cb1c356b6 Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Thu, 25 Apr 2019 10:44:57 +0200 Subject: [PATCH] Add .golangci.yml Signed-off-by: Simon Pasquier --- .gitignore | 1 + .golangci.yml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 .golangci.yml diff --git a/.gitignore b/.gitignore index c57ab7d2..e3a9f210 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ /.release /.tarballs +!.golangci.yml !/cli/testdata/*.yml !/cli/config/testdata/*.yml !/doc/examples/simple.yml diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 00000000..fd975b2d --- /dev/null +++ b/.golangci.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