spacedrive/lefthook.yml

15 lines
692 B
YAML
Raw Normal View History

########################################################################################################################
# Refer for explanation to following link: #
# https://github.com/evilmartians/lefthook/blob/master/docs/full_guide.md #
########################################################################################################################
pre-push:
parallel: true
commands:
lint:
glob: '*.{ts,tsx}'
2022-08-01 03:30:10 +00:00
run: pnpm eslint {staged_files}
markdown-link-check:
glob: '*.md'
run: pnpm markdown-link-check {staged_files}