Closed ethyde closed 4 years ago
try checking your .git/hooks/pre-commit file
@nxmohamad How do you run husky precommit scripts alongside an existing .git/hooks/pre-commit
file? We have a ruby script doing some things in ours, but I'd also like to run an NPM task.
This looks similar to https://github.com/typicode/husky/issues/171 ?
Closing to clean up the issues list but I'm keeping it in mind.
Hi,
For some reason i have some Git-Hook installed at global/system level, like this one git-good-commit as commit-msg, this one prepare-commit-msg and a simple
.gitmessage
template.In my package.json i have :
If i run
npm run precommit
everythings work well, but when i try to commit something, nothings happen, only normal commit.I have commented my Global Githook from .gitconfig, try to commit something, but linting still does not start.
What do I do wrong ?