Skip to content

Commit b1e1d53

Browse files
CopilotYunchuWang
andauthored
Add pre-commit hook to run lint on staged files (#79)
* Initial plan * Add pre-commit hook to run lint on staged files Co-authored-by: YunchuWang <12449837+YunchuWang@users.noreply.github.com> * package lock update --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: YunchuWang <12449837+YunchuWang@users.noreply.github.com>
1 parent cb2d5ac commit b1e1d53

File tree

3 files changed

+751
-0
lines changed

3 files changed

+751
-0
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

0 commit comments

Comments
 (0)