Skip to content

Commit 4347e77

Browse files
committed
⚙️ 添加 pre-commit 钩子,提交前自动执行 lint-fix
1 parent d231320 commit 4347e77

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.husky/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
pnpm run lint-fix

0 commit comments

Comments
 (0)