mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 16:43:21 +00:00
1a8f06bb7a
* Fix the path to the golanci-lint target filename. * Use the target filename when printing errors. * Put the yamllint filename back to previous name. Signed-off-by: SuperQ <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
|