From 817196e25d4a0bfb29a85cb6d4ba036f23be9d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 20 Nov 2024 10:17:27 +0100 Subject: [PATCH] enable more golangci-lint checks --- .golangci.yml | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 2b94076c..433b33de 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,12 +1,20 @@ linters: - presets: - - bugs - - unused - enable: - - gofmt - - misspell - - revive - - stylecheck + enable-all: true disable: - # direnv is not a web server, context is not strictly necessary. - - noctx + - cyclop + - depguard + - dogsled + - err113 + - exhaustruct + - exportloopref + - forbidigo + - funlen + - gocognit + - gocyclo + - godot + - godox + - lll + - maintidx + - mnd + - nestif + - varnamelen