Skip to content

Commit

Permalink
chore: added commitlint task
Browse files Browse the repository at this point in the history
  • Loading branch information
lquixada committed Mar 19, 2021
1 parent 58b7b11 commit 15de74f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
},
"husky": {
"hooks": {
"commit-msg": "commitlint --edit $1",
"pre-commit": "make build && lint-staged",
"pre-push": "make"
}
Expand Down Expand Up @@ -46,6 +47,11 @@
"nyc": {
"temp-dir": ".reports/.coverage"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"repository": {
"type": "git",
"url": "https://github.com/lquixada/cross-fetch.git"
Expand All @@ -59,6 +65,8 @@
"node-fetch": "2.6.1"
},
"devDependencies": {
"@commitlint/cli": "12.0.1",
"@commitlint/config-conventional": "12.0.1",
"body-parser": "1.19.0",
"chai": "4.3.4",
"codecov": "3.8.1",
Expand Down

0 comments on commit 15de74f

Please sign in to comment.