Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 0f1a12e

Browse files
committed
chore: enforce conventional commit messages
1 parent 2299706 commit 0f1a12e

File tree

5 files changed

+1826
-25
lines changed

5 files changed

+1826
-25
lines changed

.commitlintrc

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"extends": [
3+
"@commitlint/config-conventional"
4+
],
5+
"rules": {
6+
"scope-enum": [
7+
2,
8+
"always",
9+
[
10+
"data",
11+
"lib",
12+
"samples"
13+
]
14+
]
15+
}
16+
}

.husky/commit-msg

+4
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 ""
File renamed without changes.

0 commit comments

Comments
 (0)