Skip to content
Permalink
Browse files

chore: add commitlint as commit-msg hook

  • Loading branch information...
NicoPennec committed May 1, 2019
1 parent e588eaa commit e6b6bf785cf96ec5fa6d1e6baa1c5cce0b9be7e4
Showing with 272 additions and 10 deletions.
  1. +5 −0 .commitlintrc.js
  2. +3 −0 package.json
  3. +264 −10 yarn.lock
@@ -0,0 +1,5 @@
module.exports = {
extends: [
'@commitlint/config-conventional'
]
}
@@ -36,6 +36,7 @@
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run lint",
"pre-push": "npm test"
}
@@ -54,6 +55,8 @@
"sitemap": "^2.1.0"
},
"devDependencies": {
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"codecov": "latest",
"eslint": "latest",
"eslint-config-standard": "latest",
Oops, something went wrong.

0 comments on commit e6b6bf7

Please sign in to comment.
You can’t perform that action at this time.