Commit graph

7 commits

Author SHA1 Message Date
SuperQ a62a9e4942
Relax yamllint
Relax indentation to allow non-indented sequences. This helps with
generated yaml linke the snmp_exporter config output.

Signed-off-by: SuperQ <superq@gmail.com>
2022-05-06 09:59:59 +02:00
Levi Harrison cc77593176
Switch golangci-lint to GitHub Actions (#9232)
* Added golangci-lint action

Signed-off-by: Levi Harrison <git@leviharrison.dev>
2021-09-10 16:30:18 +02:00
Michal Wasilewski b4f12e4c7a
avoid glob pattern for key-duplicates
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-06-12 13:12:47 +02:00
Michal Wasilewski 4a811c2b44
ignore truthy in selected files
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-06-12 13:12:00 +02:00
Michal Wasilewski 6f1d3e66b5
ignore duplicate key in a file that is deliberately broken
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-06-12 12:53:35 +02:00
Michal Wasilewski b0f08f7adb
disable warning about missing document start in yamllint
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-06-12 12:48:47 +02:00
Michal Wasilewski cd0281e766
Adds yamllinting to Makefile.common
* adds yamllint target to Makefile.common for use by all Prometheus projects

Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-06-12 11:17:59 +02:00