Skip to content

Commit

Permalink
chore(commitlint): lint commit message (rsuite#1078)
Browse files Browse the repository at this point in the history
* chore(commitlint):  lint commit message

* chore(package.json): update package-lock.json
  • Loading branch information
superman66 authored May 27, 2020
1 parent 5ff48d9 commit a822912
Show file tree
Hide file tree
Showing 4 changed files with 1,448 additions and 28 deletions.
7 changes: 7 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
Loading

0 comments on commit a822912

Please sign in to comment.