husky pre commit error the --no-stash option has been renamed to --no-reset
Solution 1:
Seems like the issue I was having was a malformed package.json
(it had an extra comma).
This led the linter to fail, although no errors about it appear in the output.
Once I removed the extra comma, I was able to commit again :)