typescript-sdk/lefthook-local.example.yml
Konstantin Konstantinov 40174d2dff
v2: Add left-hook pre-push (#1003)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-25 20:30:47 +00:00

23 lines
495 B
YAML

# Optional local lefthook configuration
# To enable this:
# cp lefthook-local.example.yml lefthook-local.yml
pre-commit:
parallel: true
jobs:
- name: 'Typecheck'
run: pnpm typecheck:all
- name: 'Lint Fix & Format'
run: pnpm lint:fix:all
stage_fixed: true
post-checkout:
jobs:
- name: 'Install Dependencies'
run: pnpm install
post-merge:
jobs:
- name: 'Install Dependencies'
run: pnpm install