-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhk.pkl
More file actions
29 lines (26 loc) · 696 Bytes
/
Copy pathhk.pkl
File metadata and controls
29 lines (26 loc) · 696 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
amends "package://github.com/jdx/hk/releases/download/v1.48.0/hk@1.48.0#/Config.pkl"
import "package://github.com/jdx/hk/releases/download/v1.48.0/hk@1.48.0#/Builtins.pkl"
local linters = new Mapping<String, Step> {
["renovate-config"] {
glob = List("*.json5", "renovate.json")
check = "renovate-config-validator {{ files }}"
}
["newlines"] = Builtins.newlines
["prettier"] = Builtins.prettier
["mise"] = Builtins.mise
["jq"] = Builtins.jq
}
hooks {
["pre-commit"] {
fix = true
stash = "git"
steps = linters
}
["fix"] {
fix = true
steps = linters
}
["check"] {
steps = linters
}
}