.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:
Mateusz Gozdek 2021-11-10 10:29:12 +01:00 committed by Julien Pivotto
parent e235b499b0
commit ed698c5480
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ run:
# Skip autogenerated files. # Skip autogenerated files.
- ^.*\.(pb|y)\.go$ - ^.*\.(pb|y)\.go$
output:
sort-results: true
linters: linters:
enable: enable:
- depguard - depguard