Skip to content

Commit 55a81f0

Browse files
committedMar 14, 2021
chore(husky): install Husky and setup pre-commit hook
Autofix PHP files on commit
1 parent 9b1cf4b commit 55a81f0

File tree

4 files changed

+1762
-9
lines changed

4 files changed

+1762
-9
lines changed
 

‎.husky/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

‎.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

0 commit comments

Comments
 (0)