Skip to content

Commit c5ef5b0

Browse files
anthonytingParidelPooya
authored andcommitted
chore: fix precommit format/lint hooks (#95)
*Issue #, if available:* DAR-SDK-273 *Description of changes:* Fixing precommit hook to run lint and format automatically for all packages. Possibly fixing sync script for testing lib. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 6bdd605 commit c5ef5b0

File tree

8 files changed

+80
-265
lines changed

8 files changed

+80
-265
lines changed

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

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

0 commit comments

Comments
 (0)