Skip to content

Commit b28e94d

Browse files
committed
fix: add commitlint configuration file (#23)
* feat: add commitlint action * fix: add commitlint configuration file
1 parent ca086de commit b28e94d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.commitlintrc.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"rules": {
3+
"header-max-length": [
4+
2,
5+
"always",
6+
72
7+
],
8+
"type-enum": [
9+
2,
10+
"always",
11+
[
12+
"docs",
13+
"feat",
14+
"fix",
15+
"refactor",
16+
"revert",
17+
"style",
18+
"test"
19+
]
20+
],
21+
"type-empty": [
22+
2,
23+
"never"
24+
]
25+
}
26+
}

0 commit comments

Comments
 (0)