-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcaptainhook.json
More file actions
50 lines (50 loc) · 1.38 KB
/
captainhook.json
File metadata and controls
50 lines (50 loc) · 1.38 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"config": "captainhook.json",
"commit-msg": {
"enabled": true,
"actions": [
{
"action": "\\Ramsey\\CaptainHook\\ValidateConventionalCommit",
"options": {
"config": {
"typeCase": null,
"types": ["feat", "fix", "docs", "style", "refactor", "perf", "test", "chore"],
"scopeCase": null,
"scopeRequired": false,
"scopes": [],
"descriptionCase": null,
"descriptionEndMark": null,
"bodyRequired": false,
"bodyWrapWidth": 72,
"requiredFooters": []
}
}
}
]
},
"pre-commit": {
"enabled": true,
"actions": [
{
"action": "composer format",
"options": {},
"conditions": []
},
{
"action": "composer analyse",
"options": {},
"conditions": []
}
]
},
"pre-push": {
"enabled": true,
"actions": [
{
"action": "composer test",
"options": {},
"conditions": []
}
]
}
}