mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 15:32:48 +00:00
.golangci.yml: sort output by default
So running linter several times will yell the same order of reported issues, which makes it much easier to address them. Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
This commit is contained in:
parent
e235b499b0
commit
ed698c5480
@ -4,6 +4,9 @@ run:
|
||||
# Skip autogenerated files.
|
||||
- ^.*\.(pb|y)\.go$
|
||||
|
||||
output:
|
||||
sort-results: true
|
||||
|
||||
linters:
|
||||
enable:
|
||||
- depguard
|
||||
|
Loading…
Reference in New Issue
Block a user