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 7cdbfdb commit be2d412
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; popd

0 comments on commit be2d412

Please sign in to comment.