mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08: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 a new issue