summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-09-07 14:16:20 +0700
committerShulhan <ms@kilabit.info>2024-09-13 23:37:32 +0700
commit46839cdf43dacb579d8a4b8b442c6ab369361852 (patch)
treee0b9120494e4dd748fde8f89b2140373c4433f52
parent061cf9bf6072e0f718c6c16935caf218d05da5de (diff)
downloadpakakeh.go-46839cdf43dacb579d8a4b8b442c6ab369361852.tar.xz
all: replace golangci-lint with 'got vet'
This is the second time the golangci-lint does not work using go tip. We also found that running golangci-lint on VM with 8GB cause the program crash with out of memory.
-rw-r--r--Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 80a06821..1f81abe9 100644
--- a/Makefile
+++ b/Makefile
@@ -38,14 +38,7 @@ test.prof:
lint:
-fieldalignment ./...
-shadow ./...
- -golangci-lint run \
- --presets bugs,metalinter,performance,unused \
- --disable bodyclose \
- --disable exhaustive \
- --disable fatcontext \
- --disable gosec \
- --disable musttag \
- ./...
+ -go vet ./...
$(CIIGO):
go install git.sr.ht/~shulhan/ciigo/cmd/ciigo