aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-07-15 00:03:01 +0700
committerShulhan <ms@kilabit.info>2025-07-15 00:03:01 +0700
commit162c92d52484f18c68490d68fd1f375b59bea3c8 (patch)
treed0fe6f4a4f44bb525c27eb17e81b10e422a1f1d4 /Makefile
parent7dc39f66a28bf8493087dd0a102c02f5a064913e (diff)
downloadkbbi-162c92d52484f18c68490d68fd1f375b59bea3c8.tar.xz
all: replace fieldalignment and shadow with internal gocheck command
Program gocheck implement go static analysis using [Analyzer] that are not included in the default go vet. See package [lib/goanalysis] for more information. [Analyzer]: https://pkg.go.dev/golang.org/x/tools/go/analysis#hdr-Analyzer [lib/goanalysis]: https://pkg.go.dev/git.sr.ht/~shulhan/pakakeh.go/lib/goanalysis/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2f9e3b0..89887d0 100644
--- a/Makefile
+++ b/Makefile
@@ -7,9 +7,8 @@ all: lint test install
.PHONY: lint
lint:
- -fieldalignment ./...
- -shadow ./...
- -go vet ./...
+ go vet ./...
+ go run ./internal/cmd/gocheck ./...
-reuse lint