diff --git a/.golangci.yml b/.golangci.yml index 0a07763..7122c60 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -47,7 +47,7 @@ linters: - bidichk - durationcheck - exhaustive - - exportloopref + - copyloopvar - gofmt - goimports - misspell diff --git a/Makefile b/Makefile index 8667f50..eb6467c 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,8 @@ test: lib: @mkdir -pv $(OUT_DIR) - @go build -buildmode=plugin -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE) + @go build -buildmode=plugin -trimpath \ + -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE) lint: @golangci-lint run