From 21613e98f98b2bbd874fa9660fee3f2727f74beb Mon Sep 17 00:00:00 2001 From: Victoria Martinez de la Cruz Date: Mon, 14 Oct 2024 11:50:15 +0200 Subject: [PATCH] Update golangci.yaml configuration --- .golangci.yaml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index d53d3f01..3e132e92 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,11 +1,3 @@ -run: - skip-dirs: - - plugins/transport/dummy-alertmanager - - plugins/transport/dummy-events - - plugins/transport/dummy-metrics - - plugins/transport/dummy-logs - - plugins/application/print - - devenv issues: exclude-rules: - linters: @@ -21,7 +13,13 @@ issues: - staticcheck # https://staticcheck.io/docs/checks#SA4008 (The variable in the loop condition never changes, are you incrementing the wrong variable?) text: "SA4008:" - + exclude-dirs: + - plugins/transport/dummy-alertmanager + - plugins/transport/dummy-events + - plugins/transport/dummy-metrics + - plugins/transport/dummy-logs + - plugins/application/print + - devenv linters: disable-all: true enable: