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:
parent
78b9eb9c2c
commit
b5cab091dc
2 changed files with 27 additions and 17 deletions
8
.golangci.yml
Normal file
8
.golangci.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue