feat: add linting
Node.js CI / CI (push) Failing after 3s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 47s

This commit is contained in:
2025-12-22 17:05:51 -08:00
parent f5dbe93168
commit 059c24be31
9 changed files with 368 additions and 191 deletions
+6 -2
View File
@@ -1,4 +1,4 @@
.PHONY: help push pull test
.PHONY: help push pull test lint
# Colors for pretty output
CYAN := \033[0;36m
@@ -22,6 +22,7 @@ help: ## Show this help message
@echo " $(YELLOW)$(BOLD)make push$(NC) $(CYAN)$(NC) Push the local match directory to the remote Espanso config"
@echo " $(YELLOW)$(BOLD)make pull$(NC) $(CYAN)$(NC) Pull the remote match directory to the local Espanso config"
@echo " $(YELLOW)$(BOLD)make test$(NC) $(CYAN)$(NC) Test the Espanso config for duplicate triggers and replace values"
@echo " $(YELLOW)$(BOLD)make lint$(NC) $(CYAN)$(NC) Lint YAML files in the match directory"
@echo ""
@echo "$(CYAN)$(BOLD)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━$(NC)"
@echo ""
@@ -33,4 +34,7 @@ pull: ## Pull the remote match directory to the local Espanso config
./pull.sh
test: ## Test the Espanso config for duplicate triggers and replace values
./test.sh
./test.sh
lint: ## Lint YAML files in the match directory
./lint.sh