add basic linting rules

This commit is contained in:
Damian
2023-11-10 17:03:30 +00:00
committed by GitHub
parent 8d1554e10e
commit f87e35b5f8
2 changed files with 32 additions and 0 deletions

8
Makefile Normal file
View File

@@ -0,0 +1,8 @@
lint:
gofumpt -l -w .
golangci-lint run
go mod tidy
install-linters:
go install mvdan.cc/gofumpt@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2