mirror of
https://github.com/prometheus/prometheus
synced 2024-12-30 19:03:03 +00:00
a62a9e4942
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>
29 lines
625 B
Plaintext
29 lines
625 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:
|
|
ignore: |
|
|
.github/workflows/codeql-analysis.yml
|
|
.github/workflows/funcbench.yml
|
|
.github/workflows/fuzzing.yml
|
|
.github/workflows/prombench.yml
|
|
.github/workflows/golangci-lint.yml
|