Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
feat: added commitlint and husky
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLeedham committed Mar 4, 2019
1 parent 05fe588 commit 78bebe3
Show file tree
Hide file tree
Showing 2 changed files with 366 additions and 44 deletions.
13 changes: 13 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,21 @@
"lint": "eslint .",
"format": "eslint . --fix"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint --env HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"eslint": "^5.15.0",
"husky": "^1.3.1",
"prettier": "^1.16.4",
"semantic-release": "^15.13.3"
},
Expand Down
Loading

0 comments on commit 78bebe3

Please sign in to comment.