Synchronize Makefile.common from prometheus/prometheus (#1328)

* makefile: update Makefile.common with newer version

Signed-off-by: prombot <prometheus-team@googlegroups.com>

* Add .golangci.yml

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
PrometheusBot 2019-04-25 09:53:48 +01:00 committed by Ben Kochie
commit b5cab091dc
2 changed files with 27 additions and 17 deletions

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