I tossed all the various pre-commit scripts into GPT-5, and had it write a fast lint:fix script that only runs on staged files (
gist here). The script can be launched stand-alone from the project root folder, or installed/uninstalled as a pre-commit hook. So far, it seems to work fine, much faster than the husky script that does frontend checks on all files all the times. If you like the idea, it could be 'promoted' to a makefile target or maybe even default pre-commit.