Add typos check to Makefile (#20051)

This commit is contained in:
Anis Eleuch
2024-07-08 22:39:49 +01:00
committed by GitHub
parent cf371da346
commit b433bf14ba
3 changed files with 3 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ check-gen: ## check for updated autogenerated files
lint: getdeps ## runs golangci-lint suite of linters
@echo "Running $@ check"
@$(GOLANGCI) run --build-tags kqueue --timeout=10m --config ./.golangci.yml
@command typos && typos ./ || echo "typos binary is not found.. skipping.."
lint-fix: getdeps ## runs golangci-lint suite of linters with automatic fixes
@echo "Running $@ check"