From 463a4fbb289c1b443801d06cb8dd6723fa63ab09 Mon Sep 17 00:00:00 2001 From: "Marcus S. Abildskov" <8391194+marcus-sa@users.noreply.github.com> Date: Tue, 21 Nov 2023 14:16:13 +0100 Subject: [PATCH] chore: fix lefthook.yml --- lefthook.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lefthook.yml b/lefthook.yml index 77f920d..8dd66d0 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -2,7 +2,7 @@ commit-msg: commands: commitlint: - run: yarn commitlint --edit {1} + run: pnpm commitlint --edit {1} pre-commit: commands: github-actions: @@ -11,7 +11,7 @@ pre-commit: run: echo {staged_files} && actionlint eslint: glob: '*.{js,ts,jsx,tsx}' - run: yarn eslint --quiet --fix {staged_files} && git add {staged_files} + run: pnpm eslint --quiet --fix {staged_files} && git add {staged_files} prettier: glob: '*.{json,yml,yaml,html,graphql}' - run: yarn prettier --write {staged_files} && git add {staged_files} + run: pnpm prettier --write {staged_files} && git add {staged_files}