From 44614d6a7bbf0cd4f2fe2db680f3bdf223c7d1f8 Mon Sep 17 00:00:00 2001 From: Oliver Steele Date: Wed, 21 Jun 2017 10:53:50 -0400 Subject: [PATCH] Add a gometalinter config file --- .gometalinter.json | 3 +++ Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .gometalinter.json diff --git a/.gometalinter.json b/.gometalinter.json new file mode 100644 index 0000000..3eb2936 --- /dev/null +++ b/.gometalinter.json @@ -0,0 +1,3 @@ +{ + "Exclude": [".*_test.go"] +} \ No newline at end of file diff --git a/Makefile b/Makefile index 61447da..600e52b 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ install: ## compile and install the executable go install ${LDFLAGS} ${PACKAGE}/cmd/gojekyll lint: ## lint the package - gometalinter ./... + gometalinter --config .gometalinter.json ./... test: ## test the package go test ${LDFLAGS} ./...