From 7e5ab8f73189b4da372b41b9881ad642926ac086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= <12514511+RincewindsHat@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:19:42 +0200 Subject: [PATCH] Update linter config --- .golangci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index dbfe5b5..b3a9ea3 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,10 +1,10 @@ run: timeout: 5m - skip-files: - - '(.+)_test\.go' - - 'internal/config/http_config.go' - - 'internal/config/config.go' +issues.exclude-files: + - '(.+)_test\.go' + - 'internal/config/http_config.go' + - 'internal/config/config.go' linters: disable-all: false enable: @@ -12,17 +12,14 @@ linters: - dupl - whitespace - wsl - - exportloopref disable: - funlen - - scopelint - bodyclose - contextcheck - nilerr - noctx - rowserrcheck - sqlclosecheck - - structcheck - unparam - musttag presets: