From 3798783154a1fc1d5dc1fc0c991ebd4eb7b6eb8f Mon Sep 17 00:00:00 2001 From: Nicholas Thompson Date: Mon, 15 Jun 2020 13:28:50 +0200 Subject: [PATCH] change Mkefile to use docker source for linting --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 98dc59f..be161b4 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,10 @@ statik: statik -f -p=frontend -src=./frontend/root lint: - golangci-lint run + docker run --rm -it \ + -w /src -v $(shell pwd):/src \ + golangci/golangci-lint:v1.26 golangci-lint run \ + -v -c .golangci.yml clean: rm ./invertergui