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