Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

lefthook.yml

11 lines302 Bytes

1pre-commit:
2 parallel: true
3 jobs:
4 - name: format
5 glob: '*.{js,ts,tsx,json,jsonc,md,css}'
6 run: bunx prettier --check {staged_files}
7 - name: lint
8 glob: '*.{js,ts,tsx}'
9 run: bunx eslint --no-warn-ignored {staged_files}
10 - name: typecheck
11 run: bun run typecheck