Michal
186e2e79c8
add yamllint config, fix yamllint errors ( #2088 )
...
After a recent change in prometheus/prometheus, Makefile.common includes
now a yamllint target which currently fails. This PR adds the missing
yamllint config and fixes the yamllint errors.
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-09-29 20:12:14 +02:00
Johannes 'fish' Ziemke
c10aa42a4f
Disable soon to deprecated linters ( #2129 )
...
These lead to false positives when build tags disable certain files as
reported in https://github.com/prometheus/node_exporter/issues/1545
They'll get deprecated and removed eventually anyway:
https://github.com/golangci/golangci-lint/issues/1841
Signed-off-by: Johannes 'fish' Ziemke <github@freigeist.org>
2021-09-14 17:36:28 +02:00
Ben Kochie
7c659627da
Remove vendor directory
...
Dev summit 2020-07-10 consensus item: Remove vendor from repos.
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-07-11 18:25:18 +02:00
Ben Kochie
a7c31ff7ed
Enable golint ( #1623 )
...
* Enable golint in golangci-lint tests.
* Fix up minor linting issues.
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-02-27 11:59:02 +01:00
Simon Pasquier
c7abeae816
*: enable default linters ( #1334 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-05-06 15:42:50 +02:00
PrometheusBot
b5cab091dc
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>
2019-04-25 10:53:48 +02:00