chore(deps): update dependency husky to v5
This MR contains the following updates:
- fix(install): do not fail if not inside a Git directory (closes #851)
See https://github.com/typicode/husky/releases/tag/v5.0.0 for v5 release notes
- fix(shell): double quote params (#824)
- Remove unused files
- Fix custom directory support #827
Note about the license
Husky 5 is released under The Parity Public License.
It doesn't affect you if you're using husky in an Open Source project or if you're a sponsor. You're free to use it as usual and I hope you'll enjoy this new release
If you're using husky in a commercial project, you may want to consider becoming a sponsor to support the project. You can also try it for 30 days.
This is only for a limited time, husky will be MIT again later.
Important Husky v5 brings a lot of improvements but is also very different from v4. Git hooks won't work if you only upgrade husky dependency, existing config needs to be migrated too.
The best way to switch to v5 is to follow the new installation instructions and migrate existing hooks command using
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.