diff options
| author | Shulhan <ms@kilabit.info> | 2023-11-06 21:30:00 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-11-07 20:18:58 +0700 |
| commit | d49ba537f82fb418723390744768d3525ed3c986 (patch) | |
| tree | 794103875d525c2d22ae67b8da82fc4e242c4629 | |
| parent | 31086115d5c35a60a70b7e7ff6abda5ebc46915a (diff) | |
| download | ciigo-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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
