Skip to content

Commit 417e486

Browse files
committed
feat: add commitlint config
1 parent 6d2597b commit 417e486

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.commitlintrc.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"extends": "@commitlint/config-conventional",
3+
"rules": {
4+
"body-max-line-length": [1, "always", 100],
5+
"type-case": [2, "always", "camel-case"],
6+
"type-enum": [
7+
2,
8+
"always",
9+
[
10+
"feat",
11+
"fix",
12+
"perf",
13+
"revert",
14+
"build",
15+
"initial",
16+
"dependencies",
17+
"peerDependencies",
18+
"devDependencies",
19+
"metadata",
20+
"docs",
21+
"style",
22+
"chore",
23+
"refactor",
24+
"test",
25+
"ci"
26+
]
27+
]
28+
}
29+
}

0 commit comments

Comments
 (0)