We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e0ede2 + 6b42180 commit ac3aac4Copy full SHA for ac3aac4
Makefile
@@ -542,8 +542,8 @@ generate-diagrams: ## Generate diagrams for *.plantuml files
542
.PHONY: lint
543
lint: $(GOLANGCI_LINT) ## Lint the codebase
544
$(GOLANGCI_LINT) run -v $(GOLANGCI_LINT_EXTRA_ARGS)
545
- cd $(TEST_DIR); $(GOLANGCI_LINT) run -v $(GOLANGCI_LINT_EXTRA_ARGS)
546
- cd $(TOOLS_DIR); $(GOLANGCI_LINT) run -v $(GOLANGCI_LINT_EXTRA_ARGS)
+ cd $(TEST_DIR); $(GOLANGCI_LINT) run --path-prefix $(TEST_DIR) -v $(GOLANGCI_LINT_EXTRA_ARGS)
+ cd $(TOOLS_DIR); $(GOLANGCI_LINT) run --path-prefix $(TOOLS_DIR) -v $(GOLANGCI_LINT_EXTRA_ARGS)
547
./scripts/ci-lint-dockerfiles.sh $(HADOLINT_VER) $(HADOLINT_FAILURE_THRESHOLD)
548
549
.PHONY: lint-dockerfiles
0 commit comments