From e91dacea2d7b930d912b23458bcf21f974f80fb6 Mon Sep 17 00:00:00 2001 From: Gerry Agbobada <10496163+gagbo@users.noreply.github.com> Date: Sun, 1 Dec 2019 20:45:13 +0100 Subject: [PATCH] Remove envvar setter in golangci-lint checker This allows users to be responsible for their use of the feature. I definitely misread the documentation about the checker. --- modules/lang/go/config.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/lang/go/config.el b/modules/lang/go/config.el index a19bfde14..b5605a83b 100644 --- a/modules/lang/go/config.el +++ b/modules/lang/go/config.el @@ -72,5 +72,4 @@ (use-package! flycheck-golangci-lint :when (featurep! :tools flycheck) - :hook (go-mode . flycheck-golangci-lint-setup) - :config (setenv "GO111MODULE" "on")) + :hook (go-mode . flycheck-golangci-lint-setup))