I am having an issue when making a commit and using Husky in my project.
This is the error I get when I make a commit such as git commit -m "feat: test commit"
me@my-laptop whatever % git commit -m "feat: test commit"
⚠ The `--no-stash` option has been renamed to `--no-reset`.
husky - pre-commit hook exited with code 1 (error)
The version of Husky I am using is the 7.0.4 and this is the pre-commit hook file
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
npx pretty-quick --staged
Any Idea of what could be the issue?
Thanks in advance!