From dcdd4a7b45b68b529259eb0ba84ac4065847bde6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Wed, 7 Jun 2023 15:55:52 +0100 Subject: [PATCH] fix(ci): update golangci config --- .golangci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 1004218da..bff7befe2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -28,10 +28,13 @@ issues: linters-settings: depguard: - list-type: blacklist - include-go-root: true - packages-with-error-message: - - io/ioutil: "Use corresponding 'os' or 'io' functions instead." + rules: + main: + files: + - '$all' + deny: + - pkg: "io/ioutil" + desc: "Use corresponding 'os' or 'io' functions instead." goimports: local-prefixes: github.com/prymitive/karma gofumpt: