Explorar el Código

feat: 增加husky的hook

zhusiqing hace 3 años
padre
commit
1d5d9e1ae6
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      .husky/pre-commit

+ 4 - 0
.husky/pre-commit

@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+./node_modules/.bin/lint-staged