aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-11-06 21:30:00 +0700
committerShulhan <ms@kilabit.info>2023-11-07 20:18:58 +0700
commitd49ba537f82fb418723390744768d3525ed3c986 (patch)
tree794103875d525c2d22ae67b8da82fc4e242c4629
parent31086115d5c35a60a70b7e7ff6abda5ebc46915a (diff)
downloadciigo-d49ba537f82fb418723390744768d3525ed3c986.tar.xz
Makefile: replace linter golangci-lint with revive
The reason for replacing is the golangci-lint become unusable. It does not provide any useful hints (either we become better at writing Go code or the default linter is not good enough). While at it, add another linters from golang.org/x/tools including fieldalignment and shadow.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d3c9a3..645cfc4 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,9 @@ DIR_BUILD:=_bin
all: test lint build
lint:
- -golangci-lint run ./...
+ -fieldalignment ./...
+ -shadow ./...
+ -revive ./...
test:
go run ./cmd/ciigo-example embed