Skip to content

Commit

Permalink
Add git hooks to format (#26)
Browse files Browse the repository at this point in the history
* Add git hooks to format

* Update .distignore
  • Loading branch information
t-hamano authored Mar 7, 2024
1 parent 4e14a63 commit f1097d4
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 f1097d4

Please sign in to comment.