From ed698c5480ce8a9af2209a7e3daefcea4a3444b9 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Wed, 10 Nov 2021 10:29:12 +0100 Subject: [PATCH] .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 --- .golangci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 90ba28157..53d890f51 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,6 +4,9 @@ run: # Skip autogenerated files. - ^.*\.(pb|y)\.go$ +output: + sort-results: true + linters: enable: - depguard