-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitValidations.json
More file actions
35 lines (35 loc) · 973 Bytes
/
gitValidations.json
File metadata and controls
35 lines (35 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"branchMasters": [
"master",
"develop"
],
"branchNames": [
"feature/#ID_ISSUE/shortest_description",
"fix/#ID_ISSUE/shortest_description"
],
"commit": {
"pattern": "<type>(<scope>): <subject>",
"rules": [
{
"type": "regex",
"rule": "feature|fix|refactor|test|chore",
"message": "Missing commit (feature, fix, refactor, test or chore)."
},
{
"type": "regex",
"name": "scope",
"rule": "\\([a-zA-Z|\\s]+\\)",
"message": "Missing commit scope"
},
{
"rule": ":",
"message": "Missing colon (:)"
},
{
"type": "regex",
"rule": ": [a-zA-Z|\\s]+",
"message": "Missing subject, you need add some message."
}
]
}
}