aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorPrometheusBot <prometheus-team@googlegroups.com>2019-04-25 09:53:48 +0100
committerBen Kochie <superq@gmail.com>2019-04-25 10:53:48 +0200
commitb5cab091dc76aff99e36621aeb6515dcfe225af8 (patch)
treee54fba4bbb0b0dc36e9b08a0bf6f17464c64b63e /.golangci.yml
parent78b9eb9c2c4366d6523a2ccbea6e9b0aad1104fe (diff)
downloadprometheus_node_collector-b5cab091dc76aff99e36621aeb6515dcfe225af8.tar.bz2
prometheus_node_collector-b5cab091dc76aff99e36621aeb6515dcfe225af8.tar.xz
prometheus_node_collector-b5cab091dc76aff99e36621aeb6515dcfe225af8.zip
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>
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml
new file mode 100644
index 0000000..fd975b2
--- /dev/null
+++ b/.golangci.yml
@@ -0,0 +1,8 @@
1run:
2 modules-download-mode: vendor
3
4# Run only staticcheck for now. Additional linters will be enabled one-by-one.
5linters:
6 enable:
7 - staticcheck
8 disable-all: true