This global Git hook:
- runs
npm run lintwhen a repository defines an npmlintscript; - runs
composer lint:pre-pushwhen available, otherwisecomposer lint; - calls an executable
.repo-hooks.shfrom the repository root; - falls back to the older
repo-hooks.shfilename.