Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-commit的时候如何跳过检查?现在因为代码没有完全按照eslint配置而导致不能提交代码 #4

Closed
Bamboo898 opened this issue Nov 16, 2023 · 1 comment

Comments

@Bamboo898
Copy link

git-commit的时候如何跳过检查?现在因为代码没有完全按照eslint配置而导致不能提交代码

@honghuangdc
Copy link
Member

honghuangdc commented Dec 8, 2023

检查是在simple-git-hooks的钩子函数执行的,去掉相关配置就行,在package.json里面去掉相关钩子或者整个字段配置,然后重新安装下依赖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants