From c87a270997c1791d6ae426d8c14a3744d6a68a63 Mon Sep 17 00:00:00 2001 From: Christian Haas Date: Sun, 14 Mar 2021 08:36:45 +0100 Subject: [PATCH] disable linters about complexity --- .golangci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 9935056..dfca711 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -13,10 +13,12 @@ linters: # and the remaining issues (if existing) aren't worth it. disable: - gochecknoglobals + - gocognit # disabled because of the high complexity of demo files - goimports # disabled because of so many false-positives with "imgui-go" - gofumpt # disabled because no extra need - gosec - maligned + - nestif # disabled because of the high complexity of demo files - gomnd # disabled as most OpenGL stuff are direct constants. - funlen # disabled because of example code. While people will probably tend to duplicate this, they'll handle it on their own. - wsl # this one became too pedantic and with a different style than I would.