From f81c9e269dd87ad9f3c95b248467b0a905de5a7a Mon Sep 17 00:00:00 2001 From: Piotr Grabowski Date: Sat, 4 Feb 2023 18:44:28 +0100 Subject: [PATCH] chore(makefile): add lint command --- .golangci.yml | 6 ++++++ Makefile | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 .golangci.yml diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..d4f9766 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,6 @@ +--- + +run: + skip-dirs: + - ".*go/pkg.*" + - ".*go/src.*" diff --git a/Makefile b/Makefile index 1d712c1..46ef62a 100755 --- a/Makefile +++ b/Makefile @@ -29,3 +29,7 @@ dist: build zip -r ../Gomics-v_$(VERSION).zip gomicsv rm -rf gomicsv .PHONY: dist + +lint: + golangci-lint run +.PHONY: lint