A .husky folder inside a subpackage is invisible to git. The hook has to be installed from the repository root, even when the package that needs it lives two folders down. The prepare script ended up as cd .. && husky .husky.
lint-staged cannot run on pre-push. By then nothing is staged, so the hook sees no files and passes everything. Pre-commit is the only place it does real work.