Skip to content

Commit fc64c5c

Browse files
committed
chore: update lefthook scripts
1 parent b78b604 commit fc64c5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lefthook.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ pre-commit:
33
commands:
44
lint:
55
glob: "*.{js,ts,jsx,tsx}"
6-
run: npx eslint {staged_files}
6+
run: yarn eslint {staged_files}
77
types:
88
glob: "*.{js,ts, jsx, tsx}"
9-
run: npx tsc
9+
run: yarn tsc
1010
commit-msg:
1111
parallel: true
1212
commands:
1313
commitlint:
14-
run: npx commitlint --edit
14+
run: yarn commitlint --edit

0 commit comments

Comments
 (0)