Skip to content

Commit

Permalink
feat: Add Git hooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryohidaka committed Sep 11, 2023
1 parent 43befd6 commit a52a156
Show file tree
Hide file tree
Showing 4 changed files with 617 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ jest.config.js

## ESLint
.eslintrc.json

#Git hooks
.husky/
Loading

0 comments on commit a52a156

Please sign in to comment.