From 89f4ae35321a6728df53c6e7c29e734efd028d5f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 1 Jan 2023 18:55:48 -0700 Subject: lint: Turn on gci --- .golangci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index d5c6e53..ad53616 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -28,7 +28,6 @@ linters: - exhaustive - exhaustruct - funlen - - gci - gochecknoglobals - gochecknoinits - gocognit @@ -63,6 +62,11 @@ linters: - wrapcheck - wsl linters-settings: + gci: + sections: + - standard + - default + - prefix(git.lukeshu.com/btrfs-progs-ng) gofmt: simplify: true nolintlint: -- cgit v1.2.3-54-g00ecf