Skip to content

Commit

Permalink
chore(commitlint): added configuration commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony133 committed Dec 9, 2020
1 parent 1490ed6 commit b2fdbcd
Show file tree
Hide file tree
Showing 3 changed files with 1,029 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"extends": ["@commitlint/config-angular"],
"rules": {
"subject-case": [
2,
"always",
["sentence-case", "start-case", "pascal-case", "upper-case", "lower-case"]
],
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
"sample"
]
]
}
}
Loading

0 comments on commit b2fdbcd

Please sign in to comment.