在项目实际应用过程中遇到过一次 husky hooks 不生效的问题,这里记录下
问题表现:
问题比较直观,通过 huksy install 之后 git commit 时,pre-commit 设置的 hooks 不起作用。 重新安装 husky 或者其他依赖等都不起作用