Discussion on: Using git hooks to improve your day-to-day workflow

dangolant profile image
Daniel Golant

If you're using Node, a really easy way to add automatically-distributed hooks is to use Husky as a devDep, because it can then not only run arbitrary shell commands, but also other scripts in your package.json (if I recall correctly). I went with it because it was the least hassle, but obviously some people might object to adding a devDep for something so trivial.

nickytonline profile image
Nick Taylor (he/him)

lint-staged compliments husky very well, e.g. github.com/nickytonline/generator-...