Skip to content

Commit

Permalink
chore: Add linting
Browse files Browse the repository at this point in the history
  • Loading branch information
caffeine-addictt committed Apr 4, 2024
1 parent 438e338 commit 465c22c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
BINARY_NAME:=main.out
GOBIN:=${HOME}/go/bin


# =================================== DEFAULT =================================== #
Expand Down Expand Up @@ -45,3 +46,9 @@ clean: |
.PHONY: fmt
fmt:
go fmt ./...

# https://golangci-lint.run/welcome/install/
## lint: Lint code
.PHONY: lint
lint:
$(GOBIN)/golangci-lint run -v

0 comments on commit 465c22c

Please sign in to comment.