mirror of
https://github.com/prometheus/node_exporter
synced 2025-01-30 09:01:56 +00:00
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>
This commit is contained in:
parent
0e6b23c338
commit
186e2e79c8
17
.yamllint
Normal file
17
.yamllint
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
extends: default
|
||||||
|
|
||||||
|
rules:
|
||||||
|
braces:
|
||||||
|
max-spaces-inside: 1
|
||||||
|
level: error
|
||||||
|
brackets:
|
||||||
|
max-spaces-inside: 1
|
||||||
|
level: error
|
||||||
|
commas: disable
|
||||||
|
comments: disable
|
||||||
|
comments-indentation: disable
|
||||||
|
document-start: disable
|
||||||
|
indentation:
|
||||||
|
spaces: consistent
|
||||||
|
line-length: disable
|
Loading…
Reference in New Issue
Block a user