-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlefthook.yml
More file actions
34 lines (32 loc) · 1.05 KB
/
lefthook.yml
File metadata and controls
34 lines (32 loc) · 1.05 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
# #
# 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
colors: 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-push:
parallel: true
commands:
sherif:
glob:
- "*.js"
- "*.ts"
- "*.cjs"
- "*.mjs"
- "*.d.cts"
- "*.d.mts"
- "*.jsx"
- "*.tsx"
- "*.json"
- "*.jsonc"
run: pnpm exec sherif -i typescript -i react -i react-dom
stage_fixed: true