Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1632·husky

Husky global config file is not called if no local hook exists

Author: simon-abbottCreated Mar 9, 2026Updated Mar 9, 2026

I am using the `.config/husky/init.sh` script to run a set of global hooks that I want applied to every repo, even husky-enabled ones, but the husky script doesn't run the `husky/init.sh` script if the local script isn't found. Can you please move the existence check to be after the call to `init.sh`?

Source: typicode/husky

View original on GitHubView discussion on GitHub