diff options
-rw-r--r-- | .golangci.toml | 2 | ||||
-rw-r--r-- | Makefile | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.golangci.toml b/.golangci.toml index 74cd03bb..543f142a 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -1,6 +1,4 @@ [run] -# include notmuch codes -build-tags = ["notmuch"] # don't lint tests tests = false @@ -73,7 +73,8 @@ lint: linters.so @$(GO) run mvdan.cc/gofumpt@$(gofumpt_tag) -d . | grep ^ \ && echo The above files need to be formatted, please run make fmt && exit 1 \ || echo all files formatted. - $(GO) run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2 run + $(GO) run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2 run \ + $$(echo $(GOFLAGS) | sed s/-tags=/--build-tags=/) .PHONY: vulncheck vulncheck: |