Skip to content

Commit d671589

Browse files
committed
feat: add Makefile for linting and code formatting
1 parent 5559688 commit d671589

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.PHONY: lint
2+
lint:
3+
go mod tidy
4+
go fmt ./...
5+
golangci-lint fmt --no-config --enable gofmt,goimports
6+
golangci-lint run --no-config --fix

0 commit comments

Comments
 (0)