[#164] Makefile: Add clang-format support

Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
Alexander Chuprov 2024-11-06 16:27:43 +03:00
parent f5df03c718
commit 6b663de631
Signed by: achuprov
GPG key ID: 2D916FFD803B0EDD

View file

@ -74,6 +74,9 @@ lint:
fi fi
$(LINT_DIR)/golangci-lint run --timeout=5m $(LINT_DIR)/golangci-lint run --timeout=5m
clang:
@clang-format -i **/*.js
# Install linters # Install linters
lint-install: lint-install:
@rm -rf $(OUTPUT_LINT_DIR) @rm -rf $(OUTPUT_LINT_DIR)