generated from nhcarrigan/template
feat: add linting
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user