From 304f4773e094abb384952ba77aec809e21fe0d8b Mon Sep 17 00:00:00 2001 From: Lucas Bremgartner Date: Wed, 20 Nov 2024 07:35:20 +0100 Subject: [PATCH] golangci: Add local prefixes for goimports Signed-off-by: Lucas Bremgartner --- .golangci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index a8fa13ed5c..bc2185df92 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -15,6 +15,8 @@ linters-settings: - standard - default - prefix(github.com/lxc/incus) + goimports: + local-prefixes: github.com/lxc/incus errcheck: exclude-functions: - (io.ReadCloser).Close