diff options
| author | Shulhan <ms@kilabit.info> | 2025-02-03 18:28:15 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-02-03 20:11:07 +0700 |
| commit | a6d3b0944f80f7b84ac91f1904d23a312fbee098 (patch) | |
| tree | ceb793e048d97443595bbec18cc85cae7d5ef64d /Makefile | |
| parent | b28176b259cc8056b4d3fa1088ee68a6d9294583 (diff) | |
| download | gorankusu-a6d3b0944f80f7b84ac91f1904d23a312fbee098.tar.xz | |
all: replace external linters with internal
The fieldalignment and shadow is linter from golang.org/x/tools.
This linters actually have an API that can be combined into a program,
which provided by package "pakakeh.go/lib/goanalysis".
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -10,14 +10,11 @@ all: lint test build .PHONY: init init: git submodule update --init - go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment - go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow cd _www && yarn install .PHONY: lint lint: lint-www - -fieldalignment ./... - -shadow ./... + go run ./internal/cmd/gocheck ./... go vet ./... .PHONY: lint-www |
