Skip to content

Commit

Permalink
chore(commitlint): add commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
ttshivers committed Aug 23, 2020
1 parent da9204e commit 885557e
Show file tree
Hide file tree
Showing 5 changed files with 1,367 additions and 111 deletions.
1 change: 1 addition & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ Dockerfile
**/README.md
**/LICENSE
.releaserc
.editorconfig
.editorconfig
.commitlintrc.js
.huskyrc
6 changes: 6 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"hooks": {
"pre-commit": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
Loading

0 comments on commit 885557e

Please sign in to comment.