Skip to content

Commit 7aefdd8

Browse files
chore(hooks): use current package manager
1 parent 9eff0a2 commit 7aefdd8

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
@@ -5,12 +5,12 @@ pre-commit:
55
commands:
66
prettier:
77
glob: '*.{js,ts,jsx,tsx,mjs,mts,cjs,cts,json,yml,yaml,md}'
8-
run: yarn prettier --write {staged_files}
8+
run: npx prettier --write {staged_files}
99
stage_fixed: true
1010
eslint:
1111
glob: '*.{js,ts,jsx,tsx,mjs,mts,cjs,cts}'
12-
run: eslint --fix {staged_files}
12+
run: npx eslint --fix {staged_files}
1313
stage_fixed: true
1414
typescript-build:
1515
glob: '*.{js,ts,jsx,tsx,mjs,mts,cjs,cts}'
16-
run: yarn typecheck
16+
run: npm run typecheck

0 commit comments

Comments
 (0)