Skip to content

Instantly share code, notes, and snippets.

@marcpicaud
Created March 7, 2016 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcpicaud/4b6a11c0ed27ebcd5dee to your computer and use it in GitHub Desktop.
Save marcpicaud/4b6a11c0ed27ebcd5dee to your computer and use it in GitHub Desktop.
- repo: git://github.com/marcpicaud/addons-pre-commit
sha: master
hooks:
- id: php-lint-all
files: \.(php)$
- id: php-cs
files: \.(php)$
args: [--standard=PSR2 -p]
- id: php-cbf
file: \.(php)$
args: [--standard=PSR2 -p]
- repo: git://github.com/pre-commit/mirrors-jshint
sha: master
hooks:
- id: jshint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment