husky icon indicating copy to clipboard operation
husky copied to clipboard

Git hooks made easy 🐶 woof!

Results 152 husky issues
Sort by recently updated
recently updated
newest added

**Summary** I see two use cases for submodules with Husky - [x] I want my root repo to configure hooks of its submodules - [ ] A submodule repo uses...

目前使用的版本是:9.0.11 由于package.json中配置了"prepare": "husky", 团队其他成员从仓库中拉取代码后,执行npm install后会自动重新创建.husky目录,包括里面的文件都会被覆盖。 这就意味着,如果我在.husky/pre-commit 中定义了自己的东西,那么别人在安装依赖的时候,就被把这些自定义的内容覆盖掉。

* Error: Command failed with exit code 1: * husky install ;(o.scripts ||= {}).prepare = 'husky' * SyntaxError: Unexpected token '||=' [email protected]@husky/bin.mjs:14 Thank you!

while using husky noticed that husky executes or shows `husky` on terminal every time any command is executing - is husky command is set to execute before any `git commit`...

On Windows, under certain circumstances, the path separator is "\". This change will ensure compatibility with both Linux and Windows path separators

**Issue Type**: Bug **Troubleshoot Checklist**: - [x] I have checked the Husky Troubleshoot Guide **Context**: - Terminal: PowerShell 7.4.2 - Node.js version: v18.19.0 - Package Manager: bun - Husky version:...

Using Ubuntu 22.04.4, Node 18, Git 2.45.2 and the latest husky. I have a project with the following folder structure. Project root folder(let's say its "my_project") |- api |- frontend...

**Context** When trying to grep from the input `COMMIT_EDITMSG ($1)` file in the `prepare-commit-msg` hook makes it fail without any relevant trace nor error message. - The version of terminal...

Cross posting this husky + turbo repo issue as I am not sure which of the 2 is causing the issue. But currently husky + turbo monorepo is failing. https://github.com/vercel/turbo/issues/8314...

**Troubleshoot** I have created an sh hook that runs correctly in the terminal creating temp files and executing it as a bash, but when I try to put the file...