generated from theogravity/bun-fastify-starter-turbo-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlefthook.yml
More file actions
38 lines (37 loc) · 836 Bytes
/
lefthook.yml
File metadata and controls
38 lines (37 loc) · 836 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
30
31
32
33
34
35
36
37
38
pre-commit:
commands:
parallel: true
"update pnpm lockfiles":
glob: "**/package.json"
run: pnpm install
stage_fixed: true
"format package.json files":
glob: "**/package.json"
run: pnpm run syncpack:format
stage_fixed: true
tags:
- package-lint
"check package.json files":
glob: "**/package.json"
run: pnpm run syncpack:lint
stage_fixed: true
tags:
- package-lint
"lint staged":
glob: "*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}"
run: turbo run lint:staged
stage_fixed: true
tags:
- lint
- staged-lint
pre-push:
parallel: true
commands:
"verify types":
run: pnpm run verify-types
tags:
- types
"lint":
run: pnpm run lint
tags:
- lint