Skip to content

Commit 261404a

Browse files
committed
golangci-lint: replace deprecated local-prefixes setting for gci
1 parent 7b6db93 commit 261404a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.golangci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ linters:
5858

5959
linters-settings:
6060
gci:
61-
local-prefixes: "sigs.k8s.io/cluster-api"
61+
sections:
62+
- standard
63+
- default
64+
- prefix(sigs.k8s.io/cluster-api)
65+
custom-order: true
6266
ginkgolinter:
6367
forbid-focus-container: true
6468
godot:

0 commit comments

Comments
 (0)