Skip to content

Commit

Permalink
add pre-commit hook to format changed files with prettier, test on Ap…
Browse files Browse the repository at this point in the history
…p.tsx (#74)
  • Loading branch information
taylorham authored Aug 12, 2021
1 parent 5fa68f7 commit cd7f899
Show file tree
Hide file tree
Showing 5 changed files with 732 additions and 61 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
Loading

0 comments on commit cd7f899

Please sign in to comment.