feat: project hooks and linting + WARN commit message linting not done

This commit is contained in:
dqnid committed 2025-11-27 23:50:43 +01:00
1 parent 11fd4cb826
commit 1cdccaeb29
7 files changed
+771 -6

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
echo -e "\e[35m➤ [COMMIT]\e[0m Checking message\e[37m - \e[33m$(date +"%H:%M:%S")\e[0m"
deno task --eval commitlint --edit $1
# if [[ $? != 0 ]]; then
# echo -e "\e[31m➤ [COMMIT]\e[0m Wrong format on message\e[37m - \e[33m$(date +"%H:%M:%S")\e[0m"
# exit -1
# fi
echo -e "\e[32m➤ [COMMIT]\e[0m Message ok\e[37m - \e[33m$(date +"%H:%M:%S")\e[0m"