Skip to content

Commit

Permalink
Add git hooks to format (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Mar 6, 2024
1 parent 18daac3 commit 8c2002f
Show file tree
Hide file tree
Showing 4 changed files with 1,173 additions and 5 deletions.
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

0 comments on commit 8c2002f

Please sign in to comment.