Skip to content

Commit 33c7baf

Browse files
committed
fix: update dev tooling
Signed-off-by: Patrick Lee Scott <pat@patscott.io>
1 parent 0f0ab4c commit 33c7baf

File tree

6 files changed

+455
-1271
lines changed

6 files changed

+455
-1271
lines changed

.husky/.gitignore

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

.husky/commit-msg

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 --no-install commitlint --edit "$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 pretty-quick --staged

bin/loop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ loop(
9797
exitOnAggregateError,
9898
looprc,
9999
},
100-
errorOccured => {
100+
(errorOccured) => {
101101
if (exitOnAggregateError && errorOccured) {
102102
console.log('an error occured during loop execution - exiting process');
103103
process.exit(1);

0 commit comments

Comments
 (0)