Skip to content

Commit 2f4ef46

Browse files
build: use yarn lint-staged in pre-commit hook (#178)
lint-staged is a devDependency — yarn fails closed if it's missing (fresh clone pre-install) instead of npx falling through to a registry fetch.
1 parent af63031 commit 2f4ef46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npx lint-staged
1+
yarn lint-staged

0 commit comments

Comments
 (0)