Skip to content

Commit 2ba9282

Browse files
Merge pull request #1594 from Tony133/chore/added-commitlint
chore(commitlint): added configuration commitlint
2 parents 7edbe9f + b2fdbcd commit 2ba9282

File tree

3 files changed

+1029
-2
lines changed

3 files changed

+1029
-2
lines changed

.commitlintrc.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"extends": ["@commitlint/config-angular"],
3+
"rules": {
4+
"subject-case": [
5+
2,
6+
"always",
7+
["sentence-case", "start-case", "pascal-case", "upper-case", "lower-case"]
8+
],
9+
"type-enum": [
10+
2,
11+
"always",
12+
[
13+
"build",
14+
"chore",
15+
"ci",
16+
"docs",
17+
"feat",
18+
"fix",
19+
"perf",
20+
"refactor",
21+
"revert",
22+
"style",
23+
"test",
24+
"sample"
25+
]
26+
]
27+
}
28+
}

0 commit comments

Comments
 (0)