diff options
author | sualko <klaus@jsxc.org> | 2019-08-21 13:11:51 +0300 |
---|---|---|
committer | sualko <klaus@jsxc.org> | 2019-08-21 13:11:51 +0300 |
commit | 1d69c8c5ef9d8f1a153d71ca5db352e2cdf4cd9a (patch) | |
tree | 89ee8f5391161643260736cbe5aead96e7cb8e6b /package.json | |
parent | c4b296e3432f0cece6451a67b6dc95172ce95392 (diff) |
chore: add commitlint
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json index eda4f7f..3f0b1ad 100644 --- a/package.json +++ b/package.json @@ -19,10 +19,14 @@ }, "husky": { "hooks": { - "pre-commit": "vendor/bin/php-cs-fixer fix --dry-run && vendor/bin/phpunit -c phpunit.xml" + "pre-commit": "vendor/bin/php-cs-fixer fix --dry-run && vendor/bin/phpunit -c phpunit.xml", + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS " } }, "devDependencies": { + "@commitlint/cli": "^8.1.0", + "@commitlint/config-conventional": "^8.1.0", + "@commitlint/travis-cli": "^8.1.0", "@types/jquery": "^3.3.6", "archiver": "^3.0.0", "clean-webpack-plugin": "^0.1.19", |