Skip to content

Commit

Permalink
Add git hooks to format (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Mar 6, 2024
1 parent 8a29847 commit 7400aa2
Show file tree
Hide file tree
Showing 4 changed files with 1,169 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
/node_modules
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 7400aa2

Please sign in to comment.