Skip to content

Commit 5e941ae

Browse files
acidicMercury8leha-bot
authored andcommitted
feat(CI/CD): Add CommitLint config
1 parent 12d8015 commit 5e941ae

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.commitlintrc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"extends": [
3+
"@commitlint/config-conventional"
4+
],
5+
"rules": {
6+
"subject-case": [
7+
2,
8+
"always",
9+
[
10+
"sentence-case",
11+
"start-case",
12+
"pascal-case",
13+
"upper-case"
14+
]
15+
]
16+
}
17+
}

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"dependencies": {
3+
"@commitlint/cli": "latest",
4+
"@commitlint/config-conventional": "latest"
5+
}
6+
}

0 commit comments

Comments
 (0)