summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 18:55:48 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 22:42:08 -0700
commit046162cc1ff55985e3dd45eb191729ead1f9cc8d (patch)
tree8b5ab9c1718312bb0efa2d93aab16cd7e70d2569 /.golangci.yml
parentde9874d67f8a5b4bd934137c82d7010b58dfe004 (diff)
lint: Turn on gci
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml6
1 files changed, 5 insertions, 1 deletions
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: