Skip to content

Commit

Permalink
feat: add commitlint config
Browse files Browse the repository at this point in the history
  • Loading branch information
vansergen committed Jul 21, 2022
1 parent 6d2597b commit 417e486
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"extends": "@commitlint/config-conventional",
"rules": {
"body-max-line-length": [1, "always", 100],
"type-case": [2, "always", "camel-case"],
"type-enum": [
2,
"always",
[
"feat",
"fix",
"perf",
"revert",
"build",
"initial",
"dependencies",
"peerDependencies",
"devDependencies",
"metadata",
"docs",
"style",
"chore",
"refactor",
"test",
"ci"
]
]
}
}

0 comments on commit 417e486

Please sign in to comment.