Skip to content

Commit

Permalink
feat: Add commitlint
Browse files Browse the repository at this point in the history
To allow developers to add proper commit messages.
This commit messages will be gathered for preparing CHANGELOG file.
  • Loading branch information
erdkse committed Aug 10, 2021
1 parent ce0e106 commit 08117a4
Show file tree
Hide file tree
Showing 4 changed files with 1,642 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit
6 changes: 6 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'subject-case': [2, 'never', []],
},
};
Loading

0 comments on commit 08117a4

Please sign in to comment.