Skip to content

Commit

Permalink
feat: added commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
reime005 committed Jan 3, 2020
1 parent 2f2c951 commit 5365b86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

module.exports = {
extends: ['@commitlint/config-conventional'],
};
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"precommit": "lint-staged && yarn analyze",
"build": "bob build",
"prepare": "yarn build",
"postinstall": "git submodule update --init --recursive"
"postinstall": "git submodule update --init --recursive",
"commit": "git-cz",
"commitmsg": "commitlint -e $GIT_PARAMS"
},
"lint-staged": {
"*.ts": [
Expand Down

0 comments on commit 5365b86

Please sign in to comment.