diff options
| author | Shulhan <ms@kilabit.info> | 2024-03-16 17:46:48 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-03-16 17:46:48 +0700 |
| commit | c8c5bd42810e4e10e769b0d008f7524522c727da (patch) | |
| tree | 55b37451206657099c25e56650ff42b1c8498aa3 /Makefile | |
| parent | e8e3cb778a2238fe915d05b690b9dbeb2c4e2a8a (diff) | |
| download | haminer-c8c5bd42810e4e10e769b0d008f7524522c727da.tar.xz | |
all: add linter fieldalignment and shadow
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |
