husky
husky copied to clipboard
Git hooks made easy 🐶 woof!
This PR enables users to add as argument to the install script the environment the scripts run in. An example of this is to run in `bash` instead of `sh`....
**Troubleshoot** - [x] Before creating an issue, please check: https://typicode.github.io/husky/#/?id=troubleshoot **Context** ohmyzsh, Node 14 ``` ✗ cat node_modules/husky/package.json| grep version "version": "7.0.4", ``` I have an existing hook that appends...
Everything is set up correctly, according to the documentation. I'm using Windows 10. by husky:  by npm script (running lint-staged):  Thanks!
**Context** I want to migrate to husky v8, but I am not sure it will work with my current project directory. I am working on a nxjs monorepo, and have...
**Context** I get following error on Mac/Linux machines: ``` hint: The '.husky/pre-commit' hook was ignored because it's not set as executable. hint: You can disable this warning with git config...
**Troubleshoot** - [x] Before creating an issue, please check: https://typicode.github.io/husky/#/?id=troubleshoot If you're migrating from husky 4, see: https://typicode.github.io/husky/#/?id=migrate-from-v4-to-v7 **Context** Please describe your issue and provide some context: I've this pre-commit...
**Context** It's pretty common to develop on laptop, and while being on battery power, especially [low power mode](https://mashable.com/article/how-to-low-power-mode-mac), you may want to skip some of hooks, like prettier or linting....
Hello, I have an issue with husky and the pre-commits on a project. I have husky set up on other projects and it is working. On this specific project I...
In a multi-packages (aka monorepo) context, what about having one `.husky` folder per workspace (rather than a single one at root) ? it would enable such structure: ``` . |-...
The `readme.md` for Husky has this line to be executed after you install Husky: ``` npm set-script prepare "husky install" ``` This `npm` command doesn't exist and just shows the...