mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-03 15:31:05 +01:00
fa481315b5
* Update common Prometheus files Signed-off-by: prombot <prometheus-team@googlegroups.com> * Fixup linting issues * Disbale unused-parameter check. * Fixup minor linting issues. Signed-off-by: Ben Kochie <superq@gmail.com> --------- Signed-off-by: prombot <prometheus-team@googlegroups.com> Signed-off-by: Ben Kochie <superq@gmail.com> Co-authored-by: Ben Kochie <superq@gmail.com>
24 lines
435 B
Plaintext
24 lines
435 B
Plaintext
---
|
|
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
|
|
indent-sequences: consistent
|
|
key-duplicates:
|
|
ignore: |
|
|
config/testdata/section_key_dup.bad.yml
|
|
line-length: disable
|
|
truthy:
|
|
check-keys: false
|