Remove the pre-commit hook installation and its corresponding command by johnbillion · Pull Request #5868 · wp-cli/wp-cli
Fixes #5480
See #5859
This removes the script which sets up the pre-commit hook and its corresponding script.
If you have this pre-commit script installed, you can remove it by deleting the .git/hooks/pre-commit file.
Steps for testing
- Clone this repo
- Switch to this branch
- Run
composer install - Confirm no pre-commit hook has been installed into
.git/hooks/pre-commit - Commit some code that would normally fail coding standards checks
- Confirm there's no error message and the commit succeeds