Skip to content

Commit

Permalink
build: lefthook
Browse files Browse the repository at this point in the history
  • Loading branch information
atty303 committed May 19, 2024
1 parent c38f2a0 commit 2881f77
Show file tree
Hide file tree
Showing 4 changed files with 284 additions and 27 deletions.
15 changes: 15 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# Refer for explanation to following link:
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
#
pre-commit:
parallel: true
commands:
driver-tsc:
root: packages/driver
glob: "*.{js,ts,jsx,tsx}"
run: npx tsc --noEmit
web-tsc:
root: packages/web
glob: "*.{js,ts,jsx,tsx}"
run: npx tsc --noEmit
Loading

0 comments on commit 2881f77

Please sign in to comment.