Skip to content

Instantly share code, notes, and snippets.

@mikedfunk
Last active February 6, 2016 03:12
Show Gist options
  • Save mikedfunk/909564837328b4168364 to your computer and use it in GitHub Desktop.
Save mikedfunk/909564837328b4168364 to your computer and use it in GitHub Desktop.
yelp pre-commit hook example
- repo: git@github.com:pre-commit/pre-commit-hooks
sha: v0.4.2
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-json
- id: check-yaml
- id: check-merge-conflict
- repo: git@github.com:hootsuite/pre-commit-php.git
sha: 1.2.0
hooks:
- id: php-lint-all
- id: php-unit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment