Replies: 1 comment 10 replies
-
是执行完
https://blog.qbb.sh/post/2022/01/11/husky/#git-hooks 是 Lines 52 to 54 in 3fc9d67 |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1、我需要先使用git commit刷新缓存,否则每次czg都是错误的。对应的eslint校验都是上一次的错误信息。但是我独立运行eslint --fix等是没有错误信息的。
当手动git commit之后,再次运行czg则正常提交成功
2、有什么办法直接git commit触发校验吗?比如我只要提交的格式符合规范即可
Beta Was this translation helpful? Give feedback.
All reactions