Skip to content

Commit 49a55d3

Browse files
committed
feat: use lint-staged to only check files actually added to the commit
1 parent 96f88a7 commit 49a55d3

File tree

3 files changed

+566
-2
lines changed

3 files changed

+566
-2
lines changed

.husky/pre-commit

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
npm run lint
2-
npm run prettier:check
1+
lint-staged

0 commit comments

Comments
 (0)