From 4f20929c4bc1ed0cb6176a30615843be3a1e4414 Mon Sep 17 00:00:00 2001 From: Chris Suszynski Date: Thu, 17 Feb 2022 18:19:31 +0100 Subject: [PATCH] gci: restore defaults for sections (#2589) --- pkg/config/linters_settings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/linters_settings.go b/pkg/config/linters_settings.go index ba51e7a5c972..36a9af34c752 100644 --- a/pkg/config/linters_settings.go +++ b/pkg/config/linters_settings.go @@ -27,7 +27,7 @@ var defaultLintersSettings = LintersSettings{ ExcludeGodocExamples: true, }, Gci: GciSettings{ - Sections: []string{"default", "standard"}, + Sections: []string{"standard", "default"}, SectionSeparator: []string{"newline"}, }, Gocognit: GocognitSettings{