We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7855a9e commit d928be1Copy full SHA for d928be1
.lefthook.yaml
@@ -28,3 +28,17 @@ pre-commit:
28
rc=$?
29
test $rc -eq 0 || echo "error: found files modified by hooks" >&2
30
exit $rc
31
+
32
+update-tools:
33
+ commands:
34
+ dprint:
35
+ priority: 1
36
+ run: wrun generate github dprint >.lefthook/wrun-args-dprint.txt
37
+ dprint-plugins:
38
+ env:
39
+ WRUN_ARGS_FILE: .lefthook/wrun-args-dprint.txt
40
+ run: wrun -- config update
41
+ shellcheck:
42
+ run: wrun generate shellcheck >.lefthook/wrun-args-shellcheck.txt
43
+ shfmt:
44
+ run: wrun generate github mvdan sh --tool shfmt >.lefthook/wrun-args-shfmt.txt
0 commit comments