Skip to content

Commit

Permalink
Add linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz-Smelcerz-SAP committed Jan 2, 2025
1 parent b49e117 commit af91ca6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,5 @@ fmt: ## Run go fmt against code.
lint: ## Run golangci-lint against code.
GOBIN=$(LOCALBIN) go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANG_CI_LINT_VERSION)
$(LOCALBIN)/golangci-lint run --verbose -c .golangci.yaml
cd api && $(LOCALBIN)/golangci-lint run --verbose -c ../.golangci.yaml
pushd api && $(LOCALBIN)/golangci-lint run --verbose -c ../.golangci.yaml
popd ##&& pushd maintenancewindows && $(LOCALBIN)/golangci-lint run --verbose -c ../.golangci.yaml

0 comments on commit af91ca6

Please sign in to comment.