本篇文章我將示範用husky 搭配prettier 來設定Git 的 pre-commit hook,讓每個人在 git commit 之前就自動將變更的程式碼進行排版。 介紹 npm set-script ...
確定! 回上一頁