change Mkefile to use docker source for linting

This commit is contained in:
Nicholas Thompson
2020-06-15 13:28:50 +02:00
parent 6ab917d35a
commit 3798783154

View File

@@ -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