Skip to content

Commit

Permalink
chore: add golangci-lint to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
theoriginalstove committed Feb 10, 2023
1 parent cbaed83 commit f479364
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
setup:
go mod tidy
@go install mvdan.cc/gofumpt@latest
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
.PHONY: setup

test:
Expand All @@ -10,3 +11,7 @@ test:
fmt:
@gofumpt -l -w .
.PHONY: fmt

lint:
@golangci-lint run --config .golangci.yml
.PHONY: lint

0 comments on commit f479364

Please sign in to comment.