Skip to content

Commit

Permalink
feat(CI/CD): Add CommitLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicMercury8 committed Jul 17, 2024
1 parent 15f9b1f commit 6a080c5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
2,
"always",
[
"sentence-case",
"start-case",
"pascal-case",
"upper-case"
]
]
}
}
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"dependencies": {
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest"
}
}

0 comments on commit 6a080c5

Please sign in to comment.