Skip to content

Commit d208dbc

Browse files
committed
chore: setup commitlint
1 parent 7f3f6e2 commit d208dbc

File tree

4 files changed

+836
-0
lines changed

4 files changed

+836
-0
lines changed

.commitlintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ["@commitlint/config-conventional"],
3+
};

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit $1

0 commit comments

Comments
 (0)