Skip to content

Commit

Permalink
feat(*): add commitlint
Browse files Browse the repository at this point in the history
Signed-off-by: Will Soto <will.soto9@gmail.com>
  • Loading branch information
willsoto committed Feb 4, 2019
1 parent ed44af0 commit 5003674
Show file tree
Hide file tree
Showing 3 changed files with 528 additions and 16 deletions.
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ["@commitlint/config-conventional"]
};
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"@babel/core": "7.2.2",
"@babel/preset-env": "7.3.1",
"@babel/preset-typescript": "7.1.0",
"@commitlint/cli": "7.5.0",
"@commitlint/config-conventional": "7.5.0",
"@nestjs/common": "5.6.2",
"@nestjs/core": "5.6.2",
"@nestjs/testing": "5.6.2",
Expand All @@ -35,6 +37,7 @@
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
Expand Down
Loading

0 comments on commit 5003674

Please sign in to comment.