Skip to content

Commit

Permalink
Add git hooks to format (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Mar 8, 2024
1 parent 3ab4f52 commit 537ec99
Show file tree
Hide file tree
Showing 4 changed files with 1,207 additions and 1 deletion.
1 change: 1 addition & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.git
/.github
/.husky
/.wordpress-org
/artifacts
/bin
Expand Down
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
Loading

0 comments on commit 537ec99

Please sign in to comment.