Skip to content

Commit

Permalink
feat(dev): make use of brainmaestro/composer-git-hooks
Browse files Browse the repository at this point in the history
Signed-off-by: Fery Wardiyanto <[email protected]>
  • Loading branch information
feryardiant committed Jun 28, 2020
1 parent 4222d95 commit 1ee390e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
"kahlan/kahlan": "^4.7",
"squizlabs/php_codesniffer": "^3.5"
},
"extra": {
"hooks": {
"pre-commit": "composer spec",
"commit-msg": "commitlint -e -V",
"pre-push": "composer spec"
}
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
Expand Down

0 comments on commit 1ee390e

Please sign in to comment.