mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
628bbd2682
* Ignore all node_modules dirs. * Update Makefile.common golangci-lint to match CI pipeline. Signed-off-by: SuperQ <superq@gmail.com>
26 lines
463 B
Plaintext
26 lines
463 B
Plaintext
---
|
|
extends: default
|
|
ignore: |
|
|
**/node_modules
|
|
|
|
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
|