Skip to content

Commit

Permalink
chore: add lint make file target (#1586)
Browse files Browse the repository at this point in the history
Signed-off-by: Terry Howe <[email protected]>
  • Loading branch information
TerryHowe authored Dec 16, 2024
1 parent 245b141 commit 6feab51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ check-encoding: ## check file CR/LF encoding
fix-encoding: ## fix file CR/LF encoding
find cmd internal -type f -name "*.go" -exec sed -i -e "s/\r//g" {} +

.PHONY: lint
lint: ## run CI version of lint
golangci-lint run ./...

.PHONY: tidy
tidy: ## go mod tidy
GO111MODULE=on $(GO_EXE) mod tidy
Expand Down

0 comments on commit 6feab51

Please sign in to comment.