Closed DonikaV closed 5 years ago
What do you mean exactly by normal flow
?
gid add -A commit -m "my message"
expected - hook executed, but nothing happens
Can you create a minimal git repo which demonstrates the issue?
From what I can tell, you have not configured husky
correctly. See https://github.com/typicode/husky#upgrading-from-014
with this module it works https://www.npmjs.com/package/pre-commit
"scripts": {
"precommit": "lerna run --concurrency 1 --stream precommit"
}
"pre-commit": [
"precommit"
],
i will check again your docs, thanks
The husky
confirmation is the problem as I suspected. Closing this issue as we identified the cause.
root folder
lerna.json
pack 1 and pack2 have this in package.json in scripts
"precommit": "lint-staged"
With .lintstagedrc.yml
After commit nothing. I mean no any messages/output
It works only from terminal. I mean i need run git add -A npm run -s precommit
But if i do normat flow for commit - nothing