-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathprerequisites.json
More file actions
58 lines (58 loc) · 1.24 KB
/
Copy pathprerequisites.json
File metadata and controls
58 lines (58 loc) · 1.24 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
51
52
53
54
55
56
57
58
{
"requires": [
{
"id": "goimports",
"kind": "cli",
"need": "required",
"for": [
"hook:go-format.sh"
],
"detect": {
"any": [
"goimports"
]
},
"degrade": "Without goimports, the hook cannot format edited Go files; edits still go through.",
"install": {
"go": "go install golang.org/x/tools/cmd/goimports@latest"
},
"check": "/go-format:check"
},
{
"id": "jq",
"kind": "cli",
"need": "required",
"for": [
"hook:go-format.sh"
],
"detect": {
"any": [
"jq"
]
},
"degrade": "Without jq, the go-format hooks skip their work for the session and say so once.",
"install": {
"docs": "https://jqlang.org/download/"
},
"check": "/go-format:check"
},
{
"id": "node",
"kind": "runtime",
"need": "required",
"for": [
"plugin"
],
"detect": {
"any": [
"node"
]
},
"degrade": "Without node, the go-format hooks cannot launch, so they do nothing.",
"install": {
"docs": "https://nodejs.org/en/download"
},
"check": "/go-format:check"
}
]
}