-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlefthook.yml
More file actions
29 lines (26 loc) · 937 Bytes
/
lefthook.yml
File metadata and controls
29 lines (26 loc) · 937 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
# #
# Lefthook configuration file: #
# This file is used to configure Lefthook, a tool for managing Git hooks. #
# #
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md #
$schema: https://raw.githubusercontent.com/evilmartians/lefthook/refs/heads/master/schema.json
assert_lefthook_installed: true
no_tty: false
min_version: "1.5.0"
remotes:
- git_url: https://github.com/storm-software/storm-ops
ref: main
configs:
- packages/git-tools/src/lefthook/recommended.yml
pre-commit:
commands:
nx-sync:
glob: "**/*"
run: "pnpm nx sync"
stage_fixed: true
pre-push:
commands:
nx-sync:
glob: "**/*"
run: pnpm nx sync
stage_fixed: true