Add a specific command to the current pre-commit hook

husky

husky add {{.husky/pre-commit}} "{{command}} {{command_arguments}}"

click the source code to copy