Skip to content

Commit 1c3a12e

Browse files
committed
feat(dx): configure commitlint git hooks
1 parent cab6d16 commit 1c3a12e

File tree

5 files changed

+733
-2
lines changed

5 files changed

+733
-2
lines changed

.commitlintrc.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"scope-enum": [
5+
2,
6+
"always",
7+
[
8+
"network",
9+
"wallet",
10+
"sdl",
11+
"user",
12+
"auth",
13+
"billing",
14+
"provider",
15+
"deployment",
16+
"dx"
17+
]
18+
]
19+
}
20+
}

.husky/commit-msg

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- commitlint --edit $1

commitlint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default { extends: ['@commitlint/config-conventional'] };

0 commit comments

Comments
 (0)