Skip to content

Commit

Permalink
Lint only staged files in pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
deptyped committed May 15, 2024
1 parent 1188a74 commit a22873a
Show file tree
Hide file tree
Showing 3 changed files with 592 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npm run lint
npx lint-staged
Loading

0 comments on commit a22873a

Please sign in to comment.