summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b244201..90d9f55 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,14 @@ test:
CGO_ENABLED=1 go test -race ./...
lint:
- -golangci-lint run ./...
+ -fieldalignment ./...
+ -shadow ./...
+ -golangci-lint run \
+ --presets bugs,metalinter,performance,unused \
+ --disable exhaustive \
+ --disable musttag \
+ --disable bodyclose \
+ ./...
install: build test lint
go install -v ./cmd/haminer